mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-18 01:28:42 +00:00
fix this for now
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14057 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
643f9fd11c
commit
813fd67a79
@ -156,8 +156,9 @@ static int get_pmp_pubaddr(char *pub_addr)
|
||||
goto end;
|
||||
}
|
||||
|
||||
|
||||
pubaddr = inet_ntoa(response.pnu.publicaddress.addr);
|
||||
switch_set_string(pub_addr, pubaddr);
|
||||
switch_set_string(nat_globals.pub_addr, pubaddr);
|
||||
nat_globals.nat_type = SWITCH_NAT_TYPE_PMP;
|
||||
|
||||
closenatpmp(&natpmp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user