Browse Source

Do not not not double swap

master
Nico Schottelius 3 years ago
parent
commit
fdf828d687
  1. 4
      p4src/static-mapping.p4

4
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;
}

Loading…
Cancel
Save