mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 15:44:21 +00:00
I screwed this up sorry
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14274 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
11115bb720
commit
8559a5d59d
2 files changed
+2
-2
No files matched your search
@@ -99,7 +99,7 @@ SWITCH_STANDARD_API(nat_map_function)
|
||||
|
||||
if (argv[0] && switch_stristr("add", argv[0])) {
|
||||
if (switch_nat_add_mapping((switch_port_t)atoi(argv[1]), proto, &external_port, sticky) == SWITCH_STATUS_SUCCESS) {
|
||||
stream->write_function(stream, "%d", (int)external_port);
|
||||
stream->write_function(stream, "true"); /* still return true */
|
||||
goto ok;
|
||||
}
|
||||
} else if (argv[0] && switch_stristr("del", argv[0])) {
|
||||
|
||||
Reference in new issue
Block a user