summaryrefslogtreecommitdiffhomepage
path: root/ryu/lib/ofctl_v1_2.py
diff options
context:
space:
mode:
Diffstat (limited to 'ryu/lib/ofctl_v1_2.py')
-rw-r--r--ryu/lib/ofctl_v1_2.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ryu/lib/ofctl_v1_2.py b/ryu/lib/ofctl_v1_2.py
index 0789bf68..d08bb21c 100644
--- a/ryu/lib/ofctl_v1_2.py
+++ b/ryu/lib/ofctl_v1_2.py
@@ -50,6 +50,9 @@ def actions_to_str(instructions):
actions = []
for instruction in instructions:
+ if not isinstance(instruction,
+ ofproto_v1_2_parser.OFPInstructionActions):
+ continue
for a in instruction.actions:
action_type = a.cls_action_type