projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto: Bundle all controller-related settings into a struct.
[openvswitch]
/
ovsdb
/
ovsdb-client.c
diff --git
a/ovsdb/ovsdb-client.c
b/ovsdb/ovsdb-client.c
index da7faf61aa18b95451ff8e2c8b5848a3a61ed7a6..7a8310f1546b348a9a07a464ccbe41b2d4f5f886 100644
(file)
--- a/
ovsdb/ovsdb-client.c
+++ b/
ovsdb/ovsdb-client.c
@@
-224,11
+224,11
@@
open_jsonrpc(const char *server)
struct stream *stream;
int error;
struct stream *stream;
int error;
- error = stream_open_block(
server
, &stream);
+ error = stream_open_block(
jsonrpc_stream_open(server, &stream)
, &stream);
if (error == EAFNOSUPPORT) {
struct pstream *pstream;
if (error == EAFNOSUPPORT) {
struct pstream *pstream;
- error = pstream_open(server, &pstream);
+ error =
jsonrpc_
pstream_open(server, &pstream);
if (error) {
ovs_fatal(error, "failed to connect or listen to \"%s\"", server);
}
if (error) {
ovs_fatal(error, "failed to connect or listen to \"%s\"", server);
}