aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2018-10-23 11:05:23 +0200
committerKlement Sekera <ksekera@cisco.com>2018-10-23 11:05:23 +0200
commitc3ac3131d4d6f20f28632484c3c3ead50aa11cac (patch)
treea9963cc689ad6af5d61ed961622ce19340972088 /src/vnet/ipsec
parent2322798bea16ff4092e2361423af6fd451fd1669 (diff)
ipsec: fix wrong counter bump
Change-Id: I5105b688ef3df2c949ba09e1e90c1b8913502388 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/vnet/ipsec')
-rw-r--r--src/vnet/ipsec/ah_decrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ipsec/ah_decrypt.c b/src/vnet/ipsec/ah_decrypt.c
index e3e0071a40f..941368a9695 100644
--- a/src/vnet/ipsec/ah_decrypt.c
+++ b/src/vnet/ipsec/ah_decrypt.c
@@ -163,7 +163,7 @@ ah_decrypt_inline (vlib_main_t * vm,
AH_DECRYPT_ERROR_REPLAY, 1);
else
vlib_node_increment_counter (vm,
- ah6_decrypt_node.index,
+ ah4_decrypt_node.index,
AH_DECRYPT_ERROR_REPLAY, 1);
to_next[0] = i_bi0;
to_next += 1;