Fix meaning of "send_to_port1"

This commit is contained in:
Nico Schottelius 2019-07-17 17:41:54 +02:00
commit 55cc9db975
2 changed files with 8 additions and 2 deletions

View file

@ -5,10 +5,14 @@ action do_nothing() {
;
}
action send_to_port1(port_t port) {
action send_to_port(port_t port) {
sume_metadata.dst_port = port;
}
action send_to_port1() {
sume_metadata.dst_port = 1;
}
table dummy_table_for_netpfga {
key = {
hdr.ethernet.dst_addr: exact;