X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftemplate_ipsec.py;h=918c99383af68ff8155e1dc902b9b7de22b580e8;hb=490b92738;hp=9a9fbd070a62654585a3d83fa18f870a33361d92;hpb=a9e2774f5561ccb77c8243a196f93f5070f6c5ad;p=vpp.git diff --git a/test/template_ipsec.py b/test/template_ipsec.py index 9a9fbd070a6..918c99383af 100644 --- a/test/template_ipsec.py +++ b/test/template_ipsec.py @@ -94,7 +94,7 @@ class IPsecIPv6Params: def mk_scapy_crypt_key(p): - if p.crypt_algo == "AES-GCM": + if p.crypt_algo in ("AES-GCM", "AES-CTR"): return p.crypt_key + struct.pack("!I", p.salt) else: return p.crypt_key