提交 4a543b29 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-6506 --resolve Technically when you are not using groups you do not add a…

FS-6506 --resolve Technically when you are not using groups you do not add a <users> tag inside <domain> you just put several <user> tags in <domain> This patch will consume an extraneous <users> tag and move on making it work either way.
上级 9464549e
......@@ -1356,6 +1356,10 @@ SWITCH_DECLARE(void) switch_load_network_lists(switch_bool_t reload)
switch_event_destroy(&my_params);
if ((ut = switch_xml_child(x_domain, "users"))) {
x_domain = ut;
}
for (ut = switch_xml_child(x_domain, "user"); ut; ut = ut->next) {
const char *user_cidr = switch_xml_attr(ut, "cidr");
const char *id = switch_xml_attr(ut, "id");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论