Print unsigned IKEv1 message IDs
This commit is contained in:
@@ -235,7 +235,7 @@ METHOD(task_manager_t, retransmit, status_t,
|
|||||||
|
|
||||||
if (this->initiating.retransmitted)
|
if (this->initiating.retransmitted)
|
||||||
{
|
{
|
||||||
DBG1(DBG_IKE, "retransmit %d of request with message ID %d seqnr (%d)",
|
DBG1(DBG_IKE, "retransmit %d of request with message ID %u seqnr (%d)",
|
||||||
this->initiating.retransmitted, this->initiating.mid, message_seqnr);
|
this->initiating.retransmitted, this->initiating.mid, message_seqnr);
|
||||||
}
|
}
|
||||||
packet = this->initiating.packet->clone(this->initiating.packet);
|
packet = this->initiating.packet->clone(this->initiating.packet);
|
||||||
@@ -809,7 +809,7 @@ static status_t parse_message(private_task_manager_t *this, message_t *msg)
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
DBG1(DBG_IKE, "%N %s with message ID %d processing failed",
|
DBG1(DBG_IKE, "%N %s with message ID %u processing failed",
|
||||||
exchange_type_names, msg->get_exchange_type(msg),
|
exchange_type_names, msg->get_exchange_type(msg),
|
||||||
msg->get_request(msg) ? "request" : "response",
|
msg->get_request(msg) ? "request" : "response",
|
||||||
msg->get_message_id(msg));
|
msg->get_message_id(msg));
|
||||||
@@ -860,7 +860,7 @@ METHOD(task_manager_t, process_message, status_t,
|
|||||||
hash = chunk_hash(msg->get_packet_data(msg));
|
hash = chunk_hash(msg->get_packet_data(msg));
|
||||||
if (hash == this->responding.hash && this->responding.packet)
|
if (hash == this->responding.hash && this->responding.packet)
|
||||||
{
|
{
|
||||||
DBG1(DBG_IKE, "received retransmit of request with ID %d, "
|
DBG1(DBG_IKE, "received retransmit of request with ID %u, "
|
||||||
"retransmitting response", mid);
|
"retransmitting response", mid);
|
||||||
charon->sender->send(charon->sender,
|
charon->sender->send(charon->sender,
|
||||||
this->responding.packet->clone(this->responding.packet));
|
this->responding.packet->clone(this->responding.packet));
|
||||||
|
|||||||
Reference in New Issue
Block a user