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
1 changed files with 2 additions and 2 deletions

View File

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