diff options
| author | Ben Pfaff <blp@nicira.com> | 2010-03-18 12:59:34 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2010-04-12 11:15:15 -0700 |
| commit | 0d11f523a371910cb0ed5549a85836f83a7552c2 (patch) | |
| tree | 6bef7f1ccdadfa5f2025a687350fb01a200b26d8 /tests/test-jsonrpc.c | |
| parent | f39dc942afd5fe241903aada30850a1d96122c8c (diff) | |
| download | openvswitch-0d11f523a371910cb0ed5549a85836f83a7552c2.tar.gz | |
ovsdb: Use port 6632 as a default port for database connections.
Until now we have required a port number to be specified explicitly for
database connections. This commit adopts port 6632 as a default.
Diffstat (limited to 'tests/test-jsonrpc.c')
| -rw-r--r-- | tests/test-jsonrpc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-jsonrpc.c b/tests/test-jsonrpc.c index f760b3ca3..d02a65f15 100644 --- a/tests/test-jsonrpc.c +++ b/tests/test-jsonrpc.c @@ -185,7 +185,7 @@ do_listen(int argc OVS_UNUSED, char *argv[]) die_if_already_running(); - error = pstream_open(argv[1], &pstream); + error = jsonrpc_pstream_open(argv[1], &pstream); if (error) { ovs_fatal(error, "could not listen on \"%s\"", argv[1]); } @@ -274,7 +274,7 @@ do_request(int argc OVS_UNUSED, char *argv[]) ovs_fatal(0, "not a valid JSON-RPC request: %s", string); } - error = stream_open_block(stream_open(argv[1], &stream), &stream); + error = stream_open_block(jsonrpc_stream_open(argv[1], &stream), &stream); if (error) { ovs_fatal(error, "could not open \"%s\"", argv[1]); } @@ -313,7 +313,7 @@ do_notify(int argc OVS_UNUSED, char *argv[]) ovs_fatal(0, "not a JSON RPC-valid notification: %s", string); } - error = stream_open_block(stream_open(argv[1], &stream), &stream); + error = stream_open_block(jsonrpc_stream_open(argv[1], &stream), &stream); if (error) { ovs_fatal(error, "could not open \"%s\"", argv[1]); } |
