From 78308a00ee82c3fad53d172732f4f1a547ed68a4 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 30 Mar 2019 16:54:19 +0100 Subject: [PATCH] v6: next_header --- p4src/static-mapping.p4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p4src/static-mapping.p4 b/p4src/static-mapping.p4 index ec52112..a4966eb 100644 --- a/p4src/static-mapping.p4 +++ b/p4src/static-mapping.p4 @@ -158,7 +158,7 @@ Echo or Echo Reply Message action nat46_icmp_generic() { hdr.icmp6.setValid(); - hdr.ipv6.protocol = PROTO_ICMP6; + hdr.ipv6.next_header = PROTO_ICMP6; meta.chk_icmp6 = true;