Re-enable standard IPv4 processing
This commit is contained in:
parent
f59c35c41b
commit
c1953aab5c
1 changed files with 6 additions and 7 deletions
|
@ -341,14 +341,13 @@ control MyIngress(inout headers hdr,
|
||||||
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 */
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue