X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_ikev2.py;h=ac77a4163a1199178b171209336d4534c53ed6a6;hb=03aae9637922023dd77955cb15caafb7ce309200;hp=5b699dd0d8d3479b0f4fba6d8a566ef29722e1e0;hpb=389aae573fb4baba278c033cb019201e246942ab;p=vpp.git diff --git a/test/test_ikev2.py b/test/test_ikev2.py index 5b699dd0d8d..ac77a4163a1 100644 --- a/test/test_ikev2.py +++ b/test/test_ikev2.py @@ -1391,7 +1391,14 @@ class TemplateResponder(IkePeer): plain = ( ikev2.IKEv2_payload_Nonce(load=self.sa.i_nonce, next_payload="SA") / plain - / ikev2.IKEv2_payload_Notify(type="REKEY_SA", proto="ESP", SPI=c.ispi) + / ikev2.IKEv2_payload_Notify( + type="REKEY_SA", + proto="ESP", + SPI=c.ispi, + length=8 + len(c.ispi), + next_payload="Notify", + ) + / ikev2.IKEv2_payload_Notify(type="ESP_TFC_PADDING_NOT_SUPPORTED") ) else: first_payload = "IDi"