mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-01-24 18:11:24 +01:00
lib/ofctl_v1_4: correct argument order for OFPFlowMod constructor
Invalid OFPFlowMod flag and importance values were observed when using app/ofctl_rest. This patch restores the proper order of arguments passed to OFPFlowMod constructor in mod_flow_entry (ofctl_v1_4.py). Signed-off-by: Michal Rzepka <mrzepka@student.agh.edu.pl> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
c09cd3dc68
commit
03e8028ce6
@ -827,7 +827,7 @@ def mod_flow_entry(dp, flow, cmd):
|
||||
flow_mod = dp.ofproto_parser.OFPFlowMod(
|
||||
dp, cookie, cookie_mask, table_id, cmd, idle_timeout,
|
||||
hard_timeout, priority, buffer_id, out_port, out_group,
|
||||
importance, flags, match, inst)
|
||||
flags, importance, match, inst)
|
||||
|
||||
ofctl_utils.send_msg(dp, flow_mod, LOG)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user