From 98ec172e9a0c3a333815d32dbeb31aa8d08d80fa Mon Sep 17 00:00:00 2001 From: Brian West Date: Fri, 22 Aug 2008 00:04:48 +0000 Subject: [PATCH] ipv6 1, SIP -1 billion git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9346 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 028a484538..cc9364741b 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -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 */