test: fix a bug which crashes when received table_features_reply that broken from openvswitch
This commit is contained in:
parent
cc8adda691
commit
adba03927f
1 changed files with 1 additions and 3 deletions
|
|
@ -20,8 +20,6 @@ defmodule Flay do
|
||||||
|
|
||||||
def init(args) do
|
def init(args) do
|
||||||
state = init_controller(args)
|
state = init_controller(args)
|
||||||
TableFeatures.Request.new
|
|
||||||
|> send_message(state.datapath_id)
|
|
||||||
init_bridge(state.datapath_id)
|
init_bridge(state.datapath_id)
|
||||||
{:ok, state}
|
{:ok, state}
|
||||||
end
|
end
|
||||||
|
|
@ -148,7 +146,7 @@ defmodule Flay do
|
||||||
],
|
],
|
||||||
wildcards: [
|
wildcards: [
|
||||||
:in_port,
|
:in_port,
|
||||||
:eth_src
|
:eth_src,
|
||||||
:eth_type,
|
:eth_type,
|
||||||
:masked_eth_dst,
|
:masked_eth_dst,
|
||||||
:vlan_vid,
|
:vlan_vid,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue