Also emit the arp header

This commit is contained in:
Nico Schottelius 2019-04-02 17:16:17 +02:00
parent cc775649a4
commit 16a1620002
2 changed files with 1 additions and 1 deletions

View File

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

View File

@ -448,7 +448,6 @@ Echo or Echo Reply Message
if(v4_arp.apply().hit) {
v4_arp_egress.apply();
}
}
}
}