Make the location of the database separately configurable.
[sliver-openvswitch.git] / ovsdb / ovsdb-tool.c
index f5412f3..4959478 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;
 }