[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
1 changed files with 3 additions and 3 deletions

View File

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