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 */
|
/* either */
|
||||||
packet.emit(hdr.ipv4);
|
packet.emit(hdr.ipv4);
|
||||||
packet.emit(hdr.ipv6);
|
packet.emit(hdr.ipv6);
|
||||||
|
packet.emit(hdr.arp);
|
||||||
|
|
||||||
/* either */
|
/* either */
|
||||||
packet.emit(hdr.tcp);
|
packet.emit(hdr.tcp);
|
||||||
|
|
|
@ -448,7 +448,6 @@ Echo or Echo Reply Message
|
||||||
if(v4_arp.apply().hit) {
|
if(v4_arp.apply().hit) {
|
||||||
v4_arp_egress.apply();
|
v4_arp_egress.apply();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue