X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=lib%2Fvconn-stream.c;h=027f48f19a4d1b97489e95f5a6f397ee7749485a;hb=ffc117c13919c94b66f0b00841ea3343c8dd47c2;hp=92076d999b0fa9e83908bc750fd305e5a3294b94;hpb=10a89ef04df5669c5cdd02f786150a7ab8454e01;p=cascardo%2Fovs.git diff --git a/lib/vconn-stream.c b/lib/vconn-stream.c index 92076d999..027f48f19 100644 --- a/lib/vconn-stream.c +++ b/lib/vconn-stream.c @@ -82,8 +82,7 @@ vconn_stream_open(const char *name, uint32_t allowed_versions, struct stream *stream; int error; - error = stream_open_with_default_ports(name, OFP_TCP_PORT, OFP_SSL_PORT, - &stream, dscp); + error = stream_open_with_default_port(name, OFP_OLD_PORT, &stream, dscp); if (!error) { error = stream_connect(stream); if (!error || error == EAGAIN) { @@ -316,8 +315,8 @@ pvconn_pstream_listen(const char *name, uint32_t allowed_versions, struct pstream *pstream; int error; - error = pstream_open_with_default_ports(name, OFP_TCP_PORT, OFP_SSL_PORT, - &pstream, dscp); + error = pstream_open_with_default_port(name, OFP_OLD_PORT, + &pstream, dscp); if (error) { return error; }