Rewrite code to use unique destination networks

This commit is contained in:
Nico Schottelius 2019-03-25 12:11:20 +01:00
commit 4a280716a6
2 changed files with 28 additions and 9 deletions

View file

@ -120,7 +120,7 @@ control MyIngress(inout headers hdr,
table nat64 {
key = {
hdr.ipv6.src_addr: lpm;
// hdr.ipv6.src_addr: lpm;
hdr.ipv6.dst_addr: lpm;
}
actions = {
@ -134,7 +134,7 @@ control MyIngress(inout headers hdr,
table nat46 {
key = {
hdr.ipv4.src_addr: lpm;
// hdr.ipv4.src_addr: lpm;
hdr.ipv4.dst_addr: lpm;
}
actions = {