ipsec: fix outer table id lookup in ipsec tun script 00/29800/2
authorBenoît Ganne <bganne@cisco.com>
Fri, 6 Nov 2020 09:55:22 +0000 (10:55 +0100)
committerNeale Ranns <nranns@cisco.com>
Mon, 9 Nov 2020 09:01:27 +0000 (09:01 +0000)
Type: fix

Change-Id: I195949b610dca1b860baca18a059d39949627961
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/scripts/vnet/ipsec_tun_protect

index b30281f..6dc4dd7 100644 (file)
@@ -22,7 +22,7 @@ ipsec sa add 20 spi 200 crypto-key 6541686776336961656264656f6f6579 crypto-alg a
 ipsec sa add 30 spi 300 crypto-key 6541686776336961656264656f6f6579 crypto-alg aes-cbc-128
 
 create ipip tunnel src 10.0.0.1 dst 10.0.0.2
-create ipip tunnel src 10.0.0.2 dst 10.0.0.1
+create ipip tunnel src 10.0.0.2 dst 10.0.0.1 outer-table-id 1
 
 ipsec tunnel protect ipip0 sa-in 20 sa-out 30
 ipsec tunnel protect ipip1 sa-in 30 sa-out 20