mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 07:04:17 +00:00
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.
This commit is contained in:
1 parent
9464549eb6
commit
4a543b29a2
1 file changed
+4
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user