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 */ }