aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-03-21 16:36:28 +0000
committerDamjan Marion <dmarion@me.com>2019-03-22 13:05:39 +0000
commit00a442068d353fd60cbd743f2dfb42ee7407d267 (patch)
treef7c1c34d920039499f7ce52b41ba297f0965c994 /src/vnet/ipsec
parentc39a93a83c66f3162ff2aeca809cf825c444fe80 (diff)
IPSEC: test for packet drop on sequence number wrap
Change-Id: Id546c56a4904d13d4278055f3c5a5e4548e2efd0 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/ipsec')
-rw-r--r--src/vnet/ipsec/ipsec_format.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/ipsec/ipsec_format.c b/src/vnet/ipsec/ipsec_format.c
index 3659a7a897f..e682386eee1 100644
--- a/src/vnet/ipsec/ipsec_format.c
+++ b/src/vnet/ipsec/ipsec_format.c
@@ -262,7 +262,8 @@ format_ipsec_sa (u8 * s, va_list * args)
sa->udp_encap ? " udp-encap-enabled" : "",
sa->use_anti_replay ? " anti-replay" : "",
sa->use_esn ? " extended-sequence-number" : "");
- s = format (s, "\n last-seq %u last-seq-hi %u window %U",
+ s = format (s, "\n seq %u seq-hi %u", sa->seq, sa->seq_hi);
+ s = format (s, "\n last-seq %u last-seq-hi %u window %U",
sa->last_seq, sa->last_seq_hi,
format_ipsec_replay_window, sa->replay_window);
s = format (s, "\n crypto alg %U%s%U",