fix wrong merge request

This commit is contained in:
Your Name 2019-03-26 21:18:05 +00:00
commit ee1d6da3e1

View file

@ -336,17 +336,18 @@ control MyIngress(inout headers hdr,
if(hdr.ipv6.isValid()) { if(hdr.ipv6.isValid()) {
icmp6.apply(); /* icmp6 echo, icmp6 ndp */ icmp6.apply(); /* icmp6 echo, icmp6 ndp */
if(nat64.apply().hit) { /* translating */ if(nat64.apply().hit) { /* translating */
v4_networks.apply(); /* apply egress */ // v4_networks.apply(); /* apply egress */
exit; /* no further v6 processing */ // exit; /* no further v6 processing */
} }
v6_networks.apply(); /* egress / routing */ 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 */
// }
} }
} }