pcpserver.c: improve DeletePCPMap() error message
This commit is contained in:
parent
047fe367dd
commit
b734f94bdf
|
@ -1147,8 +1147,8 @@ static void DeletePCPMap(pcp_info_t *pcp_msg_info)
|
||||||
syslog(LOG_INFO, "PCP: %s port %hu mapping removed",
|
syslog(LOG_INFO, "PCP: %s port %hu mapping removed",
|
||||||
proto2==IPPROTO_TCP?"TCP":"UDP", eport2);
|
proto2==IPPROTO_TCP?"TCP":"UDP", eport2);
|
||||||
} else {
|
} else {
|
||||||
syslog(LOG_ERR, "Failed to remove PCP mapping internal port %hu, protocol %s",
|
syslog(LOG_ERR, "Failed to remove PCP mapping to %s:%hu %s",
|
||||||
iport, (pcp_msg_info->protocol == IPPROTO_TCP)?"TCP":"UDP");
|
pcp_msg_info->mapped_str, iport, (pcp_msg_info->protocol == IPPROTO_TCP)?"TCP":"UDP");
|
||||||
pcp_msg_info->result_code = PCP_ERR_NO_RESOURCES;
|
pcp_msg_info->result_code = PCP_ERR_NO_RESOURCES;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue