diff options
-rw-r--r-- | ryu/lib/ofctl_v1_3.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/lib/ofctl_v1_3.py b/ryu/lib/ofctl_v1_3.py index 403c82e2..1f0fd30a 100644 --- a/ryu/lib/ofctl_v1_3.py +++ b/ryu/lib/ofctl_v1_3.py @@ -863,7 +863,7 @@ def mod_group_entry(dp, group, cmd): 'FF': dp.ofproto.OFPGT_FF} type_ = type_convert.get(group.get('type')) - if not type_: + if type_ is None: LOG.debug('Unknown type: %s', group.get('type')) group_id = int(group.get('group_id', 0)) |