[p4] refactor
This commit is contained in:
parent
0fa70432d1
commit
f2cd835ced
1 changed files with 3 additions and 3 deletions
|
@ -179,11 +179,11 @@ control MyIngress(inout headers hdr,
|
||||||
if(hdr.ipv6.isValid()) {
|
if(hdr.ipv6.isValid()) {
|
||||||
|
|
||||||
/* FIXME: structure / use .hit to do logic */
|
/* FIXME: structure / use .hit to do logic */
|
||||||
ndp_answer.apply();
|
// ndp_answer.apply();
|
||||||
|
|
||||||
ndp.apply(); /* flood or if it is us - answer */
|
//ndp.apply(); /* flood or if it is us - answer */
|
||||||
v6_addresses.apply();
|
v6_addresses.apply();
|
||||||
v6_routing.apply();
|
v6_networks.apply();
|
||||||
}
|
}
|
||||||
if(hdr.ipv4.isValid()) {
|
if(hdr.ipv4.isValid()) {
|
||||||
v4_routing.apply();
|
v4_routing.apply();
|
||||||
|
|
Loading…
Reference in a new issue