ike-init: Enable redirection extension if client sends REDIRECT_SUPPORTED notify

This commit is contained in:
Tobias Brunner
2016-03-04 16:02:58 +01:00
parent c6aa749c28
commit 099c0b12b6
+4
View File
@@ -391,6 +391,10 @@ static void process_payloads(private_ike_init_t *this, message_t *message)
handle_supported_hash_algorithms(this, notify);
}
break;
case REDIRECT_SUPPORTED:
this->ike_sa->enable_extension(this->ike_sa,
EXT_IKE_REDIRECTION);
break;
default:
/* other notifies are handled elsewhere */
break;