aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-10-20 08:49:31 +0000
committerNeale Ranns <nranns@cisco.com>2020-10-20 08:49:31 +0000
commit637c51fc40667dbfa968b225fff73b48e79b6df3 (patch)
tree8e7578fede38b3f411b376ca9f6d9403925c1e43
parent1bc919e9f3cc97662ed8ff1034b485b87c706358 (diff)
ipsec: Stack the adj from the destination in the SA's TX table
Type: fix Signed-off-by: Neale Ranns <nranns@cisco.com> Change-Id: Ib7f39243e051cdf44cc7151d14458a7fab42c6a8
-rw-r--r--src/vnet/ipsec/ipsec_itf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ipsec/ipsec_itf.c b/src/vnet/ipsec/ipsec_itf.c
index 6724eab73a8..46095ce07fe 100644
--- a/src/vnet/ipsec/ipsec_itf.c
+++ b/src/vnet/ipsec/ipsec_itf.c
@@ -76,7 +76,7 @@ ipsec_itf_adj_stack (adj_index_t ai, u32 sai)
};
/* *INDENT-ON* */
- adj_midchain_delegate_stack (ai, 0, &dst);
+ adj_midchain_delegate_stack (ai, sa->tx_fib_index, &dst);
}
else
adj_midchain_delegate_unstack (ai);