diff --git a/bin/enum_gen b/bin/enum_gen index 1aee886..9d4df79 100755 Binary files a/bin/enum_gen and b/bin/enum_gen differ diff --git a/config/config.exs b/config/config.exs index 40896b3..6dc6fa7 100644 --- a/config/config.exs +++ b/config/config.exs @@ -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, diff --git a/lib/openflow/nx_resume.ex b/lib/openflow/nx_resume.ex index 1c6bda6..3e62dad 100644 --- a/lib/openflow/nx_resume.ex +++ b/lib/openflow/nx_resume.ex @@ -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)