Do not not not double swap
This commit is contained in:
parent
86181d254c
commit
fdf828d687
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue