mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-27 21:54:16 +00:00
more nat cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15759 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
c27a26e30e
commit
f8da7ac30e
4 files changed
+12
-13
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user