]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3868 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 2 Feb 2012 22:17:57 +0000 (16:17 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 2 Feb 2012 22:18:45 +0000 (16:18 -0600)
src/mod/endpoints/mod_sofia/sofia.c

index 28d6008a867234a64e452f183176096a001b138d..3dd28d7f6043bf84b81205a31972e64eb51114c0 100644 (file)
@@ -3360,7 +3360,7 @@ switch_status_t reconfig_sofia(sofia_profile_t *profile)
                                        } else if (!strcasecmp(var, "context")) {
                                                profile->context = switch_core_strdup(profile->pool, val);
                                        } else if (!strcasecmp(var, "local-network-acl")) {
-                                               if (!strcasecmp(var, "none")) {
+                                               if (!strcasecmp(val, "none")) {
                                                        profile->local_network = NULL;
                                                } else {
                                                        profile->local_network = switch_core_strdup(profile->pool, val);