This commit is contained in:
Eishun Kondoh 2018-08-22 23:24:46 +09:00
parent c9df968706
commit 5879c9cf37
3 changed files with 2 additions and 2 deletions

View file

@ -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)