Fix meaning of "send_to_port1"
This commit is contained in:
parent
d8d1defa50
commit
55cc9db975
2 changed files with 8 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue