Remove unfinished code

This commit is contained in:
Nico Schottelius 2019-03-06 15:16:44 +01:00
parent 591175db7a
commit 3651ec4bc5

View file

@ -71,10 +71,10 @@ control MyIngress(inout headers hdr,
- tcp: (src port, dst port, dst_addr, src addr) - tcp: (src port, dst port, dst_addr, src addr)
- udp: (src port, dst port, dst_addr, src addr) - udp: (src port, dst port, dst_addr, src addr)
*/ */
action nat64_static(ipv4_addr_t nataddr, ipv6_addr_t nat64_prefix) { // action nat64_static(ipv4_addr_t nataddr, ipv6_addr_t nat64_prefix) {
hdr.ipv4.dst_addr = hdr.ipv6.dst_addr - nat64_prefix; // hdr.ipv4.dst_addr = hdr.ipv6.dst_addr - nat64_prefix;
hdr.ipv4.dst_addr = hdr.ipv6.dst_addr - nat64_prefix; // hdr.ipv4.dst_addr = hdr.ipv6.dst_addr - nat64_prefix;
} // }
/********************** Reply to NDP for US ***********************************/ /********************** Reply to NDP for US ***********************************/
table ndp_answer { table ndp_answer {