]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
ipv6 1, SIP -1 billion
authorBrian West <brian@freeswitch.org>
Fri, 22 Aug 2008 00:04:48 +0000 (00:04 +0000)
committerBrian West <brian@freeswitch.org>
Fri, 22 Aug 2008 00:04:48 +0000 (00:04 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9346 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 028a48453813cc07d86f405c119a674f65b59cb0..cc9364741b6f130d294b86a6dd004bd465bb790b 100644 (file)
@@ -545,7 +545,7 @@ void *SWITCH_THREAD_FUNC sofia_profile_thread_run(switch_thread_t *thread, void
                                                          TAG_IF(sofia_test_pflag(profile, PFLAG_TLS), NUTAG_SIPS_URL(profile->tls_bindurl)), 
                                                          TAG_IF(sofia_test_pflag(profile, PFLAG_TLS), NUTAG_CERTIFICATE_DIR(profile->tls_cert_dir)), 
                                                          TAG_IF(sofia_test_pflag(profile, PFLAG_TLS), TPTAG_TLS_VERSION(profile->tls_version)), 
-                                                         NTATAG_UDP_MTU(65536), 
+                                                         TAG_IF(!strchr(profile->sipip, ':'), NTATAG_UDP_MTU(65536)), 
                                                          NTATAG_SERVER_RPORT(profile->rport_level), 
                                                          TAG_IF(tportlog, TPTAG_LOG(1)), 
                                                          TAG_END());   /* Last tag should always finish the sequence */