]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6506 --resolve Technically when you are not using groups you do not add a <users...
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 6 May 2014 19:05:55 +0000 (00:05 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 6 May 2014 19:06:02 +0000 (00:06 +0500)
src/switch_core.c

index 6391d43dd801ef463338c6a2512990cc3955e2ae..fdd811fddede318bc32610c893968ef708cdd261 100644 (file)
@@ -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");