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); }