Rewrite code to use unique destination networks
This commit is contained in:
parent
42f5e00e74
commit
4a280716a6
2 changed files with 28 additions and 9 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue