Only use v4_networks() and set default port to 4
This commit is contained in:
parent
58d7d91358
commit
c3331bcea7
5 changed files with 155 additions and 11 deletions
|
|
@ -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_ */
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
// }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue