Try to outsmart the compiler with the arp table

Adressing

p4c --target bmv2 --arch v1model --std p4-16 "../p4src/static-mapping.p4" -o "/home/p4/master-thesis/p4src"
../p4src/static-mapping.p4(366): error: Program is not supported by this target, because table MyIngress.v6_networks has multiple successors
    table v6_networks {
          ^^^^^^^^^^^
Compilation Error
This commit is contained in:
Nico Schottelius 2019-03-31 16:40:44 +02:00
commit 30dcc0af81
2 changed files with 10 additions and 3 deletions

View file

@ -431,8 +431,7 @@ Echo or Echo Reply Message
exit;
}
v4_networks.apply(); /* regular routing, egress */
}
if(hdr.arp.isValid()) {
} else if(hdr.arp.isValid()) {
v4_arp.apply();
}
}