summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/app/rest_firewall.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ryu/app/rest_firewall.py b/ryu/app/rest_firewall.py
index ba5a166d..1c42643b 100644
--- a/ryu/app/rest_firewall.py
+++ b/ryu/app/rest_firewall.py
@@ -953,7 +953,8 @@ class Action(object):
elif value == REST_ACTION_PACKETIN:
out_port = dp.ofproto.OFPP_CONTROLLER
action = [{'type': 'OUTPUT',
- 'port': out_port}]
+ 'port': out_port,
+ 'max_len': 128}]
else:
raise ValueError('Invalid action type.')