mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-06 12:56:10 +02:00
of12: 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
45a34eb9df
commit
3553e7ec6c
@ -584,7 +584,7 @@ class OFPAction(OFPActionHeader):
|
||||
@OFPAction.register_action_type(ofproto_v1_2.OFPAT_OUTPUT,
|
||||
ofproto_v1_2.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…
x
Reference in New Issue
Block a user