[p4] update parser to emit all (potentially] modified headers
This commit is contained in:
parent
3fecfad989
commit
67bf3878d0
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue