From: Brian West Date: Fri, 5 Jun 2009 19:31:25 +0000 (+0000) Subject: Mirror back the port so people don't ask why its ZERO X-Git-Tag: v1.0.4~597 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35c1d7bec7b4eb1fa60081791ff19fa0a493338b;p=thirdparty%2Ffreeswitch.git Mirror back the port so people don't ask why its ZERO git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13646 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_nat.c b/src/switch_nat.c index 98bde2aa5f..0b8196d2fc 100644 --- a/src/switch_nat.c +++ b/src/switch_nat.c @@ -269,7 +269,7 @@ static switch_status_t switch_nat_del_mapping_pmp(switch_port_t port, switch_nat if (r == 0) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "unmapped public port %hu protocol %s to localport %hu\n", - response.pnu.newportmapping.mappedpublicport, + response.pnu.newportmapping.privateport, /* This might be wrong but its so 0 isn't displayed */ response.type == NATPMP_RESPTYPE_UDPPORTMAPPING ? "UDP" : (response.type == NATPMP_RESPTYPE_TCPPORTMAPPING ? "TCP" : "UNKNOWN"), response.pnu.newportmapping.privateport);