[p4] update parser to emit all (potentially] modified headers

This commit is contained in:
Nico Schottelius 2019-02-23 21:15:10 +01:00
parent 3fecfad989
commit 67bf3878d0

View file

@ -83,9 +83,9 @@ control MyDeparser(packet_out packet, in headers hdr) {
/* either */ /* either */
packet.emit(hdr.tcp); packet.emit(hdr.tcp);
// packet.emit(hdr.udp); packet.emit(hdr.udp);
// packet.emit(hdr.icmp); packet.emit(hdr.icmp);
// packet.emit(hdr.icmpv6); packet.emit(hdr.icmpv6);
} }
} }