diff --git a/p4src/static-mapping.p4 b/p4src/static-mapping.p4 index c2634d9..41178a6 100644 --- a/p4src/static-mapping.p4 +++ b/p4src/static-mapping.p4 @@ -336,17 +336,18 @@ control MyIngress(inout headers hdr, if(hdr.ipv6.isValid()) { icmp6.apply(); /* icmp6 echo, icmp6 ndp */ if(nat64.apply().hit) { /* translating */ - v4_networks.apply(); /* apply egress */ - exit; /* no further v6 processing */ + // v4_networks.apply(); /* apply egress */ + // exit; /* no further v6 processing */ } v6_networks.apply(); /* egress / routing */ - } else if(hdr.ipv4.isValid()) { - if(nat46.apply().hit) { /* v4->v6 */ - v6_networks.apply(); /* Now apply v6 egress */ - exit; /* no further v4 processing */ - } - v4_networks.apply(); /* routing, egress */ } + // else if(hdr.ipv4.isValid()) { + // if(nat46.apply().hit) { /* v4->v6 */ + // v6_networks.apply(); /* Now apply v6 egress */ + // exit; /* no further v4 processing */ + // } + // v4_networks.apply(); /* routing, egress */ + // } } }