Enable NAT64/NAT46 in apply block

This commit is contained in:
Nico Schottelius 2019-03-23 16:25:12 +01:00
parent 25fd78c900
commit d0f4f11aaa

View file

@ -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();
} }
} }