make port a command

This commit is contained in:
Nico Schottelius 2019-07-10 23:25:09 +02:00
parent 4387e37f4e
commit 09d5c23aad
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
// only used on netpfga for dummy packet reply
table_cam_add_entry dummy_table_for_netpfga send_to_port1 0x082222222208 => 0x00000001
table_cam_add_entry dummy_table_for_netpfga send_to_port1 0x082222222208 => 0x1

View File

@ -5,8 +5,8 @@ action do_nothing() {
;
}
action send_to_port1() {
sume_metadata.dst_port = 1;
action send_to_port1(port_t port) {
sume_metadata.dst_port = port;
}
table dummy_table_for_netpfga {