浏览代码

registrar: propagate value of case_sensitive for aor to core

Daniel-Constantin Mierla 10 年之前
父节点
当前提交
acf0432caf
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      modules/registrar/reg_mod.c

+ 3 - 0
modules/registrar/reg_mod.c

@@ -41,6 +41,7 @@
 #include "../../error.h"
 #include "../../error.h"
 #include "../../socket_info.h"
 #include "../../socket_info.h"
 #include "../../pvar.h"
 #include "../../pvar.h"
+#include "../../dset.h"
 #include "../../modules/usrloc/usrloc.h"
 #include "../../modules/usrloc/usrloc.h"
 #include "../../lib/kcore/statistics.h"
 #include "../../lib/kcore/statistics.h"
 #include "../../lib/srutils/sruid.h"
 #include "../../lib/srutils/sruid.h"
@@ -386,6 +387,8 @@ static int mod_init(void)
 	sock_flag = (sock_flag!=-1)?(1<<sock_flag):0;
 	sock_flag = (sock_flag!=-1)?(1<<sock_flag):0;
 	tcp_persistent_flag = (tcp_persistent_flag!=-1)?(1<<tcp_persistent_flag):0;
 	tcp_persistent_flag = (tcp_persistent_flag!=-1)?(1<<tcp_persistent_flag):0;
 
 
+	set_aor_case_sensitive(cfg_get(registrar, registrar_cfg, case_sensitive));
+
 	return 0;
 	return 0;
 }
 }