Remove sending to port1 by default
This commit is contained in:
parent
fb09f14672
commit
dd6e5b1628
3 changed files with 1 additions and 18 deletions
|
|
@ -88,21 +88,6 @@ control RealMain(
|
|||
mac_addr_t temp = hdr.ethernet.dst_addr;
|
||||
}
|
||||
|
||||
table lookup_table {
|
||||
key = {
|
||||
hdr.ethernet.dst_addr: exact;
|
||||
}
|
||||
|
||||
actions = {
|
||||
swap_eth_addresses;
|
||||
do_nothing;
|
||||
send_to_port1;
|
||||
send_to_all_ports;
|
||||
}
|
||||
size = 64;
|
||||
default_action = send_to_port1; // test_port1()
|
||||
}
|
||||
|
||||
apply {
|
||||
bit<17> tmp17 = 0;
|
||||
bool apply_v4networks = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue