ike-init: Enable redirection extension if client sends REDIRECT_SUPPORTED notify
This commit is contained in:
@@ -391,6 +391,10 @@ static void process_payloads(private_ike_init_t *this, message_t *message)
|
|||||||
handle_supported_hash_algorithms(this, notify);
|
handle_supported_hash_algorithms(this, notify);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case REDIRECT_SUPPORTED:
|
||||||
|
this->ike_sa->enable_extension(this->ike_sa,
|
||||||
|
EXT_IKE_REDIRECTION);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
/* other notifies are handled elsewhere */
|
/* other notifies are handled elsewhere */
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user