diff --git a/p4src/netpfga_nat64.p4 b/p4src/netpfga_nat64.p4 index c15572f..6727411 100644 --- a/p4src/netpfga_nat64.p4 +++ b/p4src/netpfga_nat64.p4 @@ -1,4 +1,7 @@ - if(hdr.ipv6.isValid()) { +bool apply_v6networks = false; +bool apply_v4networks = false; + +if(hdr.ipv6.isValid()) { apply_v6networks = true; if(nat64.apply().hit) { /* generic / static nat64 done */