X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftemplate_ipsec.py;h=40e787eebb7556867b305c1d495d529d96d1285f;hb=1e3aa5e213c23588981ee17d1413a0441a40527a;hp=39db4ddc6f668338a61ccf671ad993ce2636574d;hpb=9fd24793a407f2edbdf5c2d3a031bdcf894f0a69;p=vpp.git diff --git a/test/template_ipsec.py b/test/template_ipsec.py index 39db4ddc6f6..40e787eebb7 100644 --- a/test/template_ipsec.py +++ b/test/template_ipsec.py @@ -84,7 +84,7 @@ class IPsecIPv6Params(object): def config_tun_params(p, encryption_type, tun_if): ip_class_by_addr_type = {socket.AF_INET: IP, socket.AF_INET6: IPv6} use_esn = bool(p.flags & (VppEnum.vl_api_ipsec_sad_flags_t. - IPSEC_API_SAD_FLAG_USE_EXTENDED_SEQ_NUM)) + IPSEC_API_SAD_FLAG_USE_ESN)) p.scapy_tun_sa = SecurityAssociation( encryption_type, spi=p.vpp_tun_spi, crypt_algo=p.crypt_algo, crypt_key=p.crypt_key, @@ -107,7 +107,7 @@ def config_tun_params(p, encryption_type, tun_if): def config_tra_params(p, encryption_type): use_esn = p.flags & (VppEnum.vl_api_ipsec_sad_flags_t. - IPSEC_API_SAD_FLAG_USE_EXTENDED_SEQ_NUM) + IPSEC_API_SAD_FLAG_USE_ESN) p.scapy_tra_sa = SecurityAssociation( encryption_type, spi=p.vpp_tra_spi,