From 815c6a4fbcbb636ce3b4dc98446ad205a30670a6 Mon Sep 17 00:00:00 2001 From: Piotr Bronowski Date: Thu, 9 Jun 2022 09:09:28 +0000 Subject: ipsec: change wildcard value for any protocol of spd policy Currently 0 has been used as the wildcard representing ANY type of protocol. However 0 is valid value of ip protocol (HOPOPT) and therefore it should not be used as a wildcard. Instead 255 is used which is guaranteed by IANA to be reserved and not used as a protocol id. Type: improvement Signed-off-by: Piotr Bronowski Change-Id: I2320bae6fe380cb999dc5a9187beb68fda2d31eb --- test/vpp_ipsec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/vpp_ipsec.py') diff --git a/test/vpp_ipsec.py b/test/vpp_ipsec.py index 1db7f853e72..eb0209fc57a 100644 --- a/test/vpp_ipsec.py +++ b/test/vpp_ipsec.py @@ -85,7 +85,7 @@ class VppIpsecSpdEntry(VppObject): local_stop, remote_start, remote_stop, - proto, + proto=socket.IPPROTO_RAW, priority=100, policy=None, is_outbound=1, -- cgit 1.2.3-korg