From 1d388630dd9789bd86ce008152589e832cbf3913 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 29 Jul 2019 21:35:40 +0200 Subject: [PATCH] re-add the two bool for applying tables --- p4src/netpfga_nat64.p4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 */