Fix
This commit is contained in:
parent
c9df968706
commit
5879c9cf37
3 changed files with 2 additions and 2 deletions
BIN
bin/enum_gen
BIN
bin/enum_gen
Binary file not shown.
|
|
@ -4,7 +4,7 @@ use Mix.Config
|
|||
|
||||
config :tres,
|
||||
protocol: :tcp,
|
||||
port: 6653,
|
||||
port: 6633,
|
||||
max_connections: 10,
|
||||
num_acceptors: 10,
|
||||
callback_module: Tres.ExampleHandler,
|
||||
|
|
|
|||
|
|
@ -259,7 +259,7 @@ defmodule Openflow.NxResume do
|
|||
acc,
|
||||
%NxResume{continuation_actions: actions} = pin,
|
||||
[:continuation_actions | rest]
|
||||
) do
|
||||
) when is_nil(actions) do
|
||||
actions_bin = Openflow.Action.to_binary(actions)
|
||||
length = @prop_header_length + byte_size(actions_bin)
|
||||
pad_length = Openflow.Utils.pad_length(length, 8)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue