ipsec: Stack the adj from the destination in the SA's TX table 44/29544/1
authorNeale Ranns <nranns@cisco.com>
Tue, 20 Oct 2020 08:49:31 +0000 (08:49 +0000)
committerNeale Ranns <nranns@cisco.com>
Tue, 20 Oct 2020 08:49:31 +0000 (08:49 +0000)
Type: fix

Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: Ib7f39243e051cdf44cc7151d14458a7fab42c6a8

src/vnet/ipsec/ipsec_itf.c

index 6724eab..46095ce 100644 (file)
@@ -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);