of13: set ActionOutput default max_len to zero
same as of10. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
3553e7ec6c
commit
19445e20f2
@ -2015,7 +2015,7 @@ class OFPAction(OFPActionHeader):
|
||||
@OFPAction.register_action_type(ofproto_v1_3.OFPAT_OUTPUT,
|
||||
ofproto_v1_3.OFP_ACTION_OUTPUT_SIZE)
|
||||
class OFPActionOutput(OFPAction):
|
||||
def __init__(self, port, max_len):
|
||||
def __init__(self, port, max_len=0):
|
||||
super(OFPActionOutput, self).__init__()
|
||||
self.port = port
|
||||
self.max_len = max_len
|
||||
|
Loading…
Reference in New Issue
Block a user