ip: Fix the AH/ESP protocol numbers on the API 57/26257/2
authorNeale Ranns <nranns@cisco.com>
Tue, 31 Mar 2020 08:25:07 +0000 (08:25 +0000)
committerNeale Ranns <nranns@cisco.com>
Wed, 1 Apr 2020 12:27:03 +0000 (12:27 +0000)
Type: fix

this is mainly cosmetic, assuming users use the symbolic names,
since VPP's API types encode/decode functions corrected the values

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

src/vnet/ip/ip_types.api

index d150050..72bd39e 100644 (file)
@@ -68,8 +68,8 @@ enum ip_proto : u8 {
   IP_API_PROTO_TCP = 6,
   IP_API_PROTO_UDP = 17,
   IP_API_PROTO_GRE = 47,
-  IP_API_PROTO_AH = 50,
-  IP_API_PROTO_ESP = 51,
+  IP_API_PROTO_ESP = 50,
+  IP_API_PROTO_AH = 51,
   IP_API_PROTO_ICMP6 = 58,
   IP_API_PROTO_EIGRP = 88,
   IP_API_PROTO_OSPF = 89,