mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 00:22:35 +00:00
don't nat map where its loopback
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13589 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e0e09cee6c
commit
b28bd6b9d2
@ -2244,6 +2244,10 @@ static int config(void)
|
||||
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user