Make the location of the database separately configurable.
[openvswitch] / ovsdb / ovsdb-tool.c
index f5412f36b7b5295881ebdc117895559b84bf1b4f..49594781d0ceacd5dadbc38088b5ddd121cd1ba8 100644 (file)
@@ -140,7 +140,7 @@ default_db(void)
 {
     static char *db;
     if (!db) {
-        db = xasprintf("%s/conf.db", ovs_sysconfdir());
+        db = xasprintf("%s/conf.db", ovs_dbdir());
     }
     return db;
 }