Re-enable standard IPv4 processing

This commit is contained in:
Nico Schottelius 2019-03-27 13:32:14 +01:00
parent f59c35c41b
commit c1953aab5c
1 changed files with 6 additions and 7 deletions

View File

@ -341,14 +341,13 @@ control MyIngress(inout headers hdr,
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 */
// }
}
}