Remove unfinished code
This commit is contained in:
parent
591175db7a
commit
3651ec4bc5
1 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue