From e9196c449b7c53b80e867ebbe9c320ad14cc494e Mon Sep 17 00:00:00 2001 From: Gurucharan Shetty Date: Wed, 13 May 2015 13:44:06 -0700 Subject: [PATCH] ovn-controller: Update actions correctly. When a desired flow is different than the installed flow, we should update its actions based on the desired flow. Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff --- ovn/controller/ofctrl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ovn/controller/ofctrl.c b/ovn/controller/ofctrl.c index 6e1ac6b9d..bc4e8d437 100644 --- a/ovn/controller/ofctrl.c +++ b/ovn/controller/ofctrl.c @@ -420,8 +420,8 @@ ofctrl_update_flows(void) .match = i->match, .priority = i->priority, .table_id = i->table_id, - .ofpacts = i->ofpacts, - .ofpacts_len = i->ofpacts_len, + .ofpacts = d->ofpacts, + .ofpacts_len = d->ofpacts_len, .command = OFPFC_MODIFY_STRICT, }; queue_flow_mod(&fm); -- 2.20.1