projects
/
openvswitch
/ 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.
[openvswitch]
/
ovsdb
/
ovsdb-tool.c
diff --git
a/ovsdb/ovsdb-tool.c
b/ovsdb/ovsdb-tool.c
index f5412f36b7b5295881ebdc117895559b84bf1b4f..49594781d0ceacd5dadbc38088b5ddd121cd1ba8 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;
}