From 74420d8bbdf4ef7ea8a53f810f57392832a9b48e Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 26 Mar 2019 22:13:17 +0100 Subject: [PATCH] Uncomment region to check flow --- p4src/static-mapping.p4 | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/p4src/static-mapping.p4 b/p4src/static-mapping.p4 index c2634d9..d259643 100644 --- a/p4src/static-mapping.p4 +++ b/p4src/static-mapping.p4 @@ -340,13 +340,14 @@ 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 */ + // } } }