Also emit the arp header
This commit is contained in:
parent
cc775649a4
commit
16a1620002
2 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -448,7 +448,6 @@ Echo or Echo Reply Message
|
|||
if(v4_arp.apply().hit) {
|
||||
v4_arp_egress.apply();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue