X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blobdiff_plain;f=test%2Ftemplate_ipsec.py;h=918c99383af68ff8155e1dc902b9b7de22b580e8;hp=9a9fbd070a62654585a3d83fa18f870a33361d92;hb=490b92738;hpb=b8ce5b784c8852f274ac25a22ee6d8806c2fab2e 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