From 19445e20f23ac090cbb4de6061e94a6fb6dcffff Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Fri, 23 Aug 2013 07:08:53 +0900 Subject: [PATCH] of13: set ActionOutput default max_len to zero same as of10. Signed-off-by: FUJITA Tomonori --- ryu/ofproto/ofproto_v1_3_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index 50f1fe1a..13efe272 100644 --- a/ryu/ofproto/ofproto_v1_3_parser.py +++ b/ryu/ofproto/ofproto_v1_3_parser.py @@ -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