From f52522fe0cc31042811e64ba9c2e25c0da79bd4a Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 27 Mar 2019 20:11:41 +0100 Subject: [PATCH] Correct typo / rename bug --- p4src/static-mapping.p4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p4src/static-mapping.p4 b/p4src/static-mapping.p4 index 7b2bf6c..36670d2 100644 --- a/p4src/static-mapping.p4 +++ b/p4src/static-mapping.p4 @@ -384,7 +384,7 @@ control MyIngress(inout headers hdr, v6_networks.apply(); /* egress / routing */ } else if(hdr.ipv4.isValid()) { - if(nat46.apply().hit) { /* v4->v6 */ + if(nat46_icmp.apply().hit) { /* v4->v6 */ v6_networks.apply(); /* Now apply v6 egress */ exit; /* no further v4 processing */ }