mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-01-24 18:11:24 +01:00
ofctl_v1_2: Fix unsuitable log
When using type 'ALL', the log unsuitable is outputted: Unknown type: ALL Signed-off-by: Satoshi Kobayashi <satoshi-k@stratosphere.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
8fd3959d06
commit
e95a684aee
@ -650,7 +650,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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user