ipsec: Correctly rewind the buffer to the IP header when punting UDP encapped SPI-0 packets
Type: fix
Fixes: b71fa75d48
Change-Id: I2d81b373f7659e702759939c096b315afa36f621
Signed-off-by: Neale Ranns <nranns@cisco.com>
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py
index ec98e1d..6a6fb45 100644
--- a/test/vpp_papi_provider.py
+++ b/test/vpp_papi_provider.py
@@ -1889,7 +1889,8 @@
remote_spi, crypto_alg, local_crypto_key,
remote_crypto_key, integ_alg, local_integ_key,
remote_integ_key, is_add=1, esn=0, salt=0,
- anti_replay=1, renumber=0, show_instance=0):
+ anti_replay=1, renumber=0,
+ udp_encap=0, show_instance=0):
return self.api(
self.papi.ipsec_tunnel_if_add_del,
{
@@ -1912,6 +1913,7 @@
'anti_replay': anti_replay,
'renumber': renumber,
'show_instance': show_instance,
+ 'udp_encap': udp_encap,
'salt': salt
})