[Freeswitch-svn] [commit] r13589 - freeswitch/trunk/src/mod/event_handlers/mod_event_socket
FreeSWITCH SVN
brian at freeswitch.org
Wed Jun 3 12:42:53 PDT 2009
Author: brian
Date: Wed Jun 3 14:42:53 2009
New Revision: 13589
Log:
don't nat map where its loopback
Modified:
freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c
Modified: freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c
==============================================================================
--- freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c (original)
+++ freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c Wed Jun 3 14:42:53 2009
@@ -2244,6 +2244,10 @@
prefs.nat_map = 0;
}
+ if (prefs.nat_map && !switch_check_network_list_ip(prefs.ip, "loopback.auto")) {
+ prefs.nat_map = 0;
+ }
+
if (!prefs.port) {
prefs.port = 8021;
}
More information about the Freeswitch-svn
mailing list