quality: Add test cases for table_stats messages
This commit is contained in:
parent
2bfccd693f
commit
344c00d31d
3 changed files with 52 additions and 3 deletions
|
|
@ -11,8 +11,8 @@ defmodule Openflow.Multipart.Table.Request do
|
|||
|
||||
def ofp_type, do: 18
|
||||
|
||||
def new(xid \\ 0) do
|
||||
%Request{xid: xid}
|
||||
def new(options \\ []) do
|
||||
%Request{xid: options[:xid] || 0}
|
||||
end
|
||||
|
||||
def read("") do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue