Only use v4_networks() and set default port to 4

This commit is contained in:
Nico Schottelius 2019-07-28 16:56:30 +02:00
commit c3331bcea7
5 changed files with 155 additions and 11 deletions

View file

@ -31,7 +31,7 @@ action controller_reply(task_t task) {
action controller_reply(task_t task) {
meta.task = task;
meta.ingress_port = sume_metadata.src_port;
set_egress_port(1);
set_egress_port(4);
}
#endif /* _SUME_SWITCH_P4_ */

View file

@ -65,13 +65,13 @@ control RealMain(
// #include "netpfga_nat64.p4"
if(apply_v4networks == true) {
// if(apply_v4networks == true) {
v4_networks.apply();
}
// }
if(apply_v6networks == true) {
v6_networks.apply();
}
// if(apply_v6networks == true) {
// v6_networks.apply();
// }
}
}