improved P2P_ENDPOINT debugging
This commit is contained in:
@@ -936,7 +936,7 @@ static status_t process_payloads(message_t *message, check_t *check)
|
||||
}
|
||||
check->endpoint = endpoint;
|
||||
check->endpoint_raw = chunk_clone(notify->get_notification_data(notify));
|
||||
DBG3(DBG_IKE, "received P2P_ENDPOINT notify");
|
||||
DBG2(DBG_IKE, "received P2P_ENDPOINT notify");
|
||||
break;
|
||||
}
|
||||
case P2P_SESSIONID:
|
||||
|
||||
@@ -650,6 +650,9 @@ static status_t process_i(private_ike_auth_t *this, message_t *message)
|
||||
case AUTH_LIFETIME:
|
||||
/* handled in ike_auth_lifetime task */
|
||||
break;
|
||||
case P2P_ENDPOINT:
|
||||
/* handled in ike_p2p task */
|
||||
break;
|
||||
default:
|
||||
{
|
||||
if (type < 16383)
|
||||
|
||||
@@ -215,7 +215,8 @@ static void process_payloads(private_ike_p2p_t *this, message_t *message)
|
||||
DBG1(DBG_IKE, "received invalid P2P_ENDPOINT notify");
|
||||
break;
|
||||
}
|
||||
DBG2(DBG_IKE, "received P2P_ENDPOINT notify");
|
||||
DBG1(DBG_IKE, "received %N P2P_ENDPOINT %#H", p2p_endpoint_type_names,
|
||||
endpoint->get_type(endpoint), endpoint->get_host(endpoint));
|
||||
|
||||
this->remote_endpoints->insert_last(this->remote_endpoints, endpoint);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user