From: Gurucharan Shetty Date: Wed, 13 May 2015 20:44:06 +0000 (-0700) Subject: ovn-controller: Update actions correctly. X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=e9196c449b7c53b80e867ebbe9c320ad14cc494e;p=ovs.git 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 --- 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);