Fix to accept transaction_id to all message structs
This commit is contained in:
parent
bb74f3d8c4
commit
4803c61061
29 changed files with 118 additions and 34 deletions
|
|
@ -14,9 +14,10 @@ defmodule Openflow.SetConfig do
|
|||
def ofp_type, do: 9
|
||||
|
||||
def new(options \\ []) do
|
||||
xid = Keyword.get(options, :xid, 0)
|
||||
flags = Keyword.get(options, :flags, [])
|
||||
miss_send_len = Keyword.get(options, :miss_send_len, :no_buffer)
|
||||
%SetConfig{flags: flags, miss_send_len: miss_send_len}
|
||||
%SetConfig{xid: xid, flags: flags, miss_send_len: miss_send_len}
|
||||
end
|
||||
|
||||
def read(<<flags_int::16, miss_send_len0::16>>) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue