ofctrl: Negotiate OVN Geneve option.
[cascardo/ovs.git] / ovn / controller / ovn-controller.c
index 84eeba8..81d5812 100644 (file)
@@ -279,12 +279,14 @@ main(int argc, char *argv[])
         }
 
         if (br_int) {
+            ofctrl_run(br_int);
+
             struct hmap flow_table = HMAP_INITIALIZER(&flow_table);
             lflow_run(&ctx, &flow_table);
             if (chassis_id) {
                 physical_run(&ctx, br_int, chassis_id, &flow_table);
             }
-            ofctrl_run(br_int, &flow_table);
+            ofctrl_put(&flow_table);
             hmap_destroy(&flow_table);
         }