of1.3: fix OFPSetConfig default arguments
The equivalent fix for of1.2 is the commit 3d90147. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
03e469c1fc
commit
d7db9cff47
@ -251,7 +251,7 @@ class OFPGetConfigReply(MsgBase):
|
||||
|
||||
@_set_msg_type(ofproto_v1_3.OFPT_SET_CONFIG)
|
||||
class OFPSetConfig(MsgBase):
|
||||
def __init__(self, datapath, flags=None, miss_send_len=None):
|
||||
def __init__(self, datapath, flags=0, miss_send_len=0):
|
||||
super(OFPSetConfig, self).__init__(datapath)
|
||||
self.flags = flags
|
||||
self.miss_send_len = miss_send_len
|
||||
|
Loading…
x
Reference in New Issue
Block a user