mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
use the same type to avoid overflow (could we even cause this?)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7987 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -2491,7 +2491,7 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
|
||||
get_addr(network_ip, sizeof(network_ip), &((struct sockaddr_in *) my_addrinfo->ai_addr)->sin_addr);
|
||||
|
||||
if (profile->acl_count) {
|
||||
int x = 0;
|
||||
uint32_t x = 0;
|
||||
for (x = 0 ; x < profile->acl_count; x++) {
|
||||
if (!switch_check_network_list_ip(network_ip, profile->acl[x])) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "IP %s Rejected by acl %s\n", network_ip, profile->acl[x]);
|
||||
|
||||
Reference in New Issue
Block a user