netdev-linux: Remove counter double-increments.
[openvswitch] / vswitchd / ovs-brcompatd.c
index 6feeda054118247881459a0e5a7ed9c83f2aa787..ecf00b3d21bfd0710993b52b712c7ab0635184f5 100644 (file)
@@ -1324,7 +1324,7 @@ main(int argc, char *argv[])
 
     daemonize_complete();
 
-    idl = ovsdb_idl_create(remote, &ovsrec_idl_class);
+    idl = ovsdb_idl_create(remote, &ovsrec_idl_class, true);
 
     for (;;) {
         const struct ovsrec_open_vswitch *ovs;
@@ -1413,7 +1413,7 @@ parse_options(int argc, char *argv[])
     };
     char *short_options = long_options_to_short_options(long_options);
 
-    appctl_command = xasprintf("%s/ovs-appctl %%s", ovs_bindir);
+    appctl_command = xasprintf("%s/ovs-appctl %%s", ovs_bindir());
     for (;;) {
         int c;