From c166ad1e0a3298a64439d1ab45a9d95fa86eb4ab Mon Sep 17 00:00:00 2001 From: Parag Bhide Date: Tue, 13 Dec 2022 11:17:55 -0800 Subject: [PATCH] Fix issue #98: ipsec ESP protocol id --- examples/ipsec-acc.p4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ipsec-acc.p4 b/examples/ipsec-acc.p4 index cedf83a..2d96715 100644 --- a/examples/ipsec-acc.p4 +++ b/examples/ipsec-acc.p4 @@ -31,7 +31,7 @@ extern void recirc_packet(); #define IP_PROTO_TCP 0x06 #define IP_PROTO_UDP 0x11 -#define IP_PROTO_ESP 0x50 +#define IP_PROTO_ESP 50 typedef bit<48> EthernetAddress;