sending INTERNAL_ADDRESS_FAILURE if virtual IP requested but none found
This commit is contained in:
@@ -315,7 +315,10 @@ static status_t build_r(private_ike_config_t *this, message_t *message)
|
||||
}
|
||||
if (ip == NULL)
|
||||
{
|
||||
DBG1(DBG_IKE, "not assigning a virtual IP to peer");
|
||||
DBG1(DBG_IKE, "no virtual IP found, sending %N",
|
||||
notify_type_names, INTERNAL_ADDRESS_FAILURE);
|
||||
message->add_notify(message, FALSE, INTERNAL_ADDRESS_FAILURE,
|
||||
chunk_empty);
|
||||
return SUCCESS;
|
||||
}
|
||||
DBG1(DBG_IKE, "assigning virtual IP %H to peer", ip);
|
||||
|
||||
Reference in New Issue
Block a user