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:
Brian West 2009-06-30 19:36:44 +00:00
parent 643f9fd11c
commit 813fd67a79
1 changed files with 2 additions and 1 deletions

View File

@ -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);