From 165f0e6b98102ecbf950421cd62798f92280dd4b Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 4 Mar 2019 13:53:14 +0100 Subject: [PATCH] [p4] typo --- 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 afc7ba1..7facbd6 100644 --- a/p4src/static-mapping.p4 +++ b/p4src/static-mapping.p4 @@ -29,7 +29,7 @@ control MyIngress(inout headers hdr, } action controller_reply() { - hdr.ethernet.etherType = TYPE_CPU; + hdr.ethernet.ethertype = TYPE_CPU; clone3(CloneType.I2E, 100, meta); }