git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the location of the database separately configurable.
[sliver-openvswitch.git]
/
ovsdb
/
ovsdb-tool.c
diff --git
a/ovsdb/ovsdb-tool.c
b/ovsdb/ovsdb-tool.c
index
f5412f3
..
4959478
100644
(file)
--- a/
ovsdb/ovsdb-tool.c
+++ b/
ovsdb/ovsdb-tool.c
@@
-140,7
+140,7
@@
default_db(void)
{
static char *db;
if (!db) {
- db = xasprintf("%s/conf.db", ovs_
sysconf
dir());
+ db = xasprintf("%s/conf.db", ovs_
db
dir());
}
return db;
}