Do not not not double swap

This commit is contained in:
Nico Schottelius 2019-04-03 10:21:40 +02:00
parent 86181d254c
commit fdf828d687

View file

@ -351,8 +351,8 @@ Echo or Echo Reply Message
hdr.arp.src_mac_addr = mac_src; hdr.arp.src_mac_addr = mac_src;
/* swapping */ /* swapping */
hdr.arp.dst_ipv4_addr = ipv4_src; hdr.arp.dst_ipv4_addr = ipv4_dst;
hdr.arp.src_ipv4_addr = ipv4_dst; hdr.arp.src_ipv4_addr = ipv4_src;
hdr.arp.opcode = ARP_REPLY; hdr.arp.opcode = ARP_REPLY;
} }