diff options
Diffstat (limited to 'ryu/lib/ofctl_v1_2.py')
-rw-r--r-- | ryu/lib/ofctl_v1_2.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ryu/lib/ofctl_v1_2.py b/ryu/lib/ofctl_v1_2.py index a01acafd..0f767cda 100644 --- a/ryu/lib/ofctl_v1_2.py +++ b/ryu/lib/ofctl_v1_2.py @@ -47,7 +47,6 @@ def to_action(dp, dic): ofp = dp.ofproto parser = dp.ofproto_parser - result = None action_type = dic.get('type') if action_type == 'OUTPUT': out_port = int(dic.get('port', ofp.OFPP_ANY)) @@ -89,7 +88,7 @@ def to_action(dp, dic): value = dic.get('value') result = parser.OFPActionSetField(**{field: value}) else: - LOG.debug('Unknown action type: %s' % action_type) + result = None return result |