parent
fbe0b19dcb
commit
52357a7d1c
|
@ -1159,10 +1159,10 @@ static void DeletePCPMap(pcp_info_t *pcp_msg_info)
|
|||
}
|
||||
if (r >= 0) {
|
||||
syslog(LOG_INFO, "PCP: %s port %hu mapping removed",
|
||||
proto2==IPPROTO_TCP?"TCP":"UDP", eport2);
|
||||
proto==IPPROTO_TCP?"TCP":"UDP", (pcp_msg_info->is_fw ? iport : eport2));
|
||||
} else {
|
||||
syslog(LOG_ERR, "Failed to remove PCP mapping to %s:%hu %s",
|
||||
pcp_msg_info->mapped_str, iport, (pcp_msg_info->protocol == IPPROTO_TCP)?"TCP":"UDP");
|
||||
pcp_msg_info->mapped_str, iport, (proto == IPPROTO_TCP)?"TCP":"UDP");
|
||||
pcp_msg_info->result_code = PCP_ERR_NO_RESOURCES;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue