diff --git a/p4src/static-mapping.p4 b/p4src/static-mapping.p4 index a2b8540..d39866f 100644 --- a/p4src/static-mapping.p4 +++ b/p4src/static-mapping.p4 @@ -461,7 +461,7 @@ Echo or Echo Reply Message v6_networks.apply(); /* regular egress / routing */ } else if(hdr.ipv4.isValid()) { - if(icmp.apply().hit()) { + if(icmp.apply().hit) { v4_networks.apply(); exit; } else if(nat46.apply().hit) {