diff --git a/p4src/parsers.p4 b/p4src/parsers.p4 index 5cd10ad..2d4ec34 100644 --- a/p4src/parsers.p4 +++ b/p4src/parsers.p4 @@ -114,6 +114,7 @@ control MyDeparser(packet_out packet, in headers hdr) { /* either */ packet.emit(hdr.ipv4); packet.emit(hdr.ipv6); + packet.emit(hdr.arp); /* either */ packet.emit(hdr.tcp); diff --git a/p4src/static-mapping.p4 b/p4src/static-mapping.p4 index 35e7de0..1d8e1ec 100644 --- a/p4src/static-mapping.p4 +++ b/p4src/static-mapping.p4 @@ -448,7 +448,6 @@ Echo or Echo Reply Message if(v4_arp.apply().hit) { v4_arp_egress.apply(); } - } } }