]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
doh
authorRaymond Chandler <intralanman@freeswitch.org>
Thu, 7 Jan 2010 22:04:32 +0000 (22:04 +0000)
committerRaymond Chandler <intralanman@freeswitch.org>
Thu, 7 Jan 2010 22:04:32 +0000 (22:04 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16202 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_reg.c

index 11f45d7f5091867539817628c15c3ea689a3f6a4..936fe03dc7f7bbb47638a9ad749e4caa1fd00997 100644 (file)
@@ -1939,7 +1939,7 @@ auth_res_t sofia_reg_parse_auth(sofia_profile_t *profile,
 
        if (auth_acl) {
                if (!switch_check_network_list_ip(ip, auth_acl)) {
-                       int network_ip_is_proxy, x = 0;
+                       int network_ip_is_proxy = 0, x = 0;
                        char *last_acl = NULL;
                        if (profile->proxy_acl_count == 0) {
                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "IP %s Rejected by user acl [%s] and no proxy acl present\n", ip, auth_acl);