From 4a543b29a2974b3fb4bc4dc1712170e860cf8e6a Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 7 May 2014 00:05:55 +0500 Subject: [PATCH] FS-6506 --resolve Technically when you are not using groups you do not add a tag inside you just put several tags in This patch will consume an extraneous tag and move on making it work either way. --- src/switch_core.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/switch_core.c b/src/switch_core.c index 6391d43dd8..fdd811fdde 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -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");