diff options
author | Damjan Marion <damarion@cisco.com> | 2019-03-28 10:58:59 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-03-28 22:23:08 +0000 |
commit | 1e3aa5e213c23588981ee17d1413a0441a40527a (patch) | |
tree | ca5e171e1611a3340852034ba1172235f00ace4d /src/vnet/ipsec/ipsec_sa.c | |
parent | 9fd24793a407f2edbdf5c2d3a031bdcf894f0a69 (diff) |
ipsec: USE_EXTENDED_SEQ_NUM -> USE_ESN
Change-Id: Ib828ea5106f3ae280e4ce233f2462dee363580b7
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/ipsec/ipsec_sa.c')
-rw-r--r-- | src/vnet/ipsec/ipsec_sa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/ipsec/ipsec_sa.c b/src/vnet/ipsec/ipsec_sa.c index 3d62395bd7c..eb21ecf81a4 100644 --- a/src/vnet/ipsec/ipsec_sa.c +++ b/src/vnet/ipsec/ipsec_sa.c @@ -155,8 +155,8 @@ ipsec_sa_add (u32 id, ip46_address_copy (&sa->tunnel_src_addr, tun_src); ip46_address_copy (&sa->tunnel_dst_addr, tun_dst); - if (flags & IPSEC_SA_FLAG_USE_EXTENDED_SEQ_NUM) - ipsec_sa_set_USE_EXTENDED_SEQ_NUM (sa); + if (flags & IPSEC_SA_FLAG_USE_ESN) + ipsec_sa_set_USE_ESN (sa); if (flags & IPSEC_SA_FLAG_USE_ANTI_REPLAY) ipsec_sa_set_USE_ANTI_REPLAY (sa); if (flags & IPSEC_SA_FLAG_IS_TUNNEL) |