pcpserver.c: Don't overwrite lifetime.

fix #131
This commit is contained in:
Thomas Bernard 2015-07-09 12:28:05 +02:00
parent ce56baf81e
commit 8d08346c60
1 changed files with 1 additions and 1 deletions

View File

@ -967,7 +967,7 @@ static int CreatePCPMap_NAT(pcp_info_t *pcp_msg_info)
pcp_msg_info->protocol,
iaddr_old, sizeof(iaddr_old),
&iport_old, 0, 0, 0, 0,
&timestamp, 0, 0);
NULL/*&timestamp*/, 0, 0);
if(r==0) {
if((strcmp(pcp_msg_info->mapped_str, iaddr_old)!=0)