projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vswitch: Only one Open vSwitch daemon is supported per database.
[openvswitch]
/
ovsdb
/
ovsdb.c
diff --git
a/ovsdb/ovsdb.c
b/ovsdb/ovsdb.c
index 1a4b6d8dad785682da340d0e3a8eab818d2142a2..6d0f131ea451ff70ba272dc2de9e5339f9581032 100644
(file)
--- a/
ovsdb/ovsdb.c
+++ b/
ovsdb/ovsdb.c
@@
-204,7
+204,7
@@
ovsdb_open(const char *file_name, bool read_only, struct ovsdb **dbp)
}
json_destroy(json);
- db = ovsdb_create(read_only ?
file : NULL
, schema);
+ db = ovsdb_create(read_only ?
NULL : file
, schema);
while ((error = ovsdb_file_read(file, &json)) == NULL && json) {
struct ovsdb_txn *txn;