more nat cleanup

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15759 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2009-12-02 18:46:17 +00:00
1 parent c27a26e30e
commit f8da7ac30e
4 files changed
+12 -13

No files matched your search

+1 -4
View File
@@ -933,10 +933,7 @@ char *sofia_glue_strip_uri(const char *str)
int sofia_glue_check_nat(sofia_profile_t *profile, const char *network_ip)
{
return (network_ip &&
profile->local_network &&
sofia_test_pflag(profile, PFLAG_AUTO_NAT) &&
!switch_check_network_list_ip(network_ip, profile->local_network));
return (profile->extsipip && !switch_check_network_list_ip(network_ip, profile->local_network));
}
int sofia_glue_transport_has_tls(const sofia_transport_t tp)