From 50f8f6c76fde708540812740ba727e9f0e8bdf12 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 11 Feb 2014 10:40:46 +0100 Subject: [PATCH] miniupnpd/pcpserver.c: add info message for Mapping renewal --- miniupnpd/pcpserver.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/miniupnpd/pcpserver.c b/miniupnpd/pcpserver.c index 9b11361..c12eb96 100644 --- a/miniupnpd/pcpserver.c +++ b/miniupnpd/pcpserver.c @@ -827,6 +827,10 @@ static void CreatePCPMap(pcp_info_t *pcp_msg_info) return; } } else { + syslog(LOG_INFO, "port %hu %s already redirected to %s:%hu, replacing", + pcp_msg_info->ext_port, (pcp_msg_info->protocol==IPPROTO_TCP)?"tcp":"udp", + iaddr_old, iport_old); + /* remove and then add again */ if (_upnp_delete_redir(pcp_msg_info->ext_port, pcp_msg_info->protocol)==0) { break;