From 67bf3878d02c6f912b8672680348151a9a8f95ff Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 23 Feb 2019 21:15:10 +0100 Subject: [PATCH] [p4] update parser to emit all (potentially] modified headers --- p4src/parsers.p4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/p4src/parsers.p4 b/p4src/parsers.p4 index 79448e8..dd8e9c7 100644 --- a/p4src/parsers.p4 +++ b/p4src/parsers.p4 @@ -83,9 +83,9 @@ control MyDeparser(packet_out packet, in headers hdr) { /* either */ packet.emit(hdr.tcp); -// packet.emit(hdr.udp); -// packet.emit(hdr.icmp); -// packet.emit(hdr.icmpv6); + packet.emit(hdr.udp); + packet.emit(hdr.icmp); + packet.emit(hdr.icmpv6); } }