projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dba41d
)
ovn-nbctl: Avoid minor code duplication.
author
Ben Pfaff
<blp@nicira.com>
Thu, 1 Oct 2015 19:41:54 +0000
(12:41 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Fri, 2 Oct 2015 15:22:33 +0000
(08:22 -0700)
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Justin Pettit <jpettit@nicira.com>
ovn/utilities/ovn-nbctl.c
patch
|
blob
|
history
diff --git
a/ovn/utilities/ovn-nbctl.c
b/ovn/utilities/ovn-nbctl.c
index
c308ddc
..
2d2a5ee
100644
(file)
--- a/
ovn/utilities/ovn-nbctl.c
+++ b/
ovn/utilities/ovn-nbctl.c
@@
-142,7
+142,7
@@
nbctl_default_db(void)
if (!def) {
def = getenv("OVN_NB_DB");
if (!def) {
- def =
xasprintf("unix:%s/db.sock", ovs_rundir()
);
+ def =
ctl_default_db(
);
}
}
return def;