diff --git a/p4src/static-mapping.p4 b/p4src/static-mapping.p4 index 55311f9..6a4bece 100644 --- a/p4src/static-mapping.p4 +++ b/p4src/static-mapping.p4 @@ -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; }