move log line to debug only

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15852 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2009-12-08 22:28:52 +00:00
parent f556ece4e8
commit 9d49a57b67
1 changed files with 3 additions and 1 deletions

View File

@ -1378,7 +1378,9 @@ void sofia_reg_handle_sip_i_register(nua_t *nua, sofia_profile_t *profile, nua_h
}
if (is_nat && profile->local_network && switch_check_network_list_ip(network_ip, profile->local_network)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "IP %s is on local network, not seting NAT mode.\n", network_ip);
if (profile->debug) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "IP %s is on local network, not seting NAT mode.\n", network_ip);
}
is_nat = NULL;
}