Enable NAT64/NAT46 in apply block
This commit is contained in:
parent
25fd78c900
commit
d0f4f11aaa
1 changed files with 2 additions and 0 deletions
|
@ -329,9 +329,11 @@ control MyIngress(inout headers hdr,
|
||||||
if(hdr.ipv6.isValid()) {
|
if(hdr.ipv6.isValid()) {
|
||||||
|
|
||||||
icmp6.apply(); /* icmp6 echo, icmp6 ndp */
|
icmp6.apply(); /* icmp6 echo, icmp6 ndp */
|
||||||
|
nat64.apply(); /* v6 -> v4 */
|
||||||
v6_networks.apply(); /* routing, egress */
|
v6_networks.apply(); /* routing, egress */
|
||||||
}
|
}
|
||||||
if(hdr.ipv4.isValid()) {
|
if(hdr.ipv4.isValid()) {
|
||||||
|
nat46.apply(); /* v4->v6 */
|
||||||
v4_networks.apply();
|
v4_networks.apply();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue