stream: New functions stream_verify_name() and pstream_verify_name().
[openvswitch] / lib / vconn-stream.c
index 7a9ef389c75ae7b2c49fad3b201fab93e7a386ea..aa2e61947222fcee92afd2541403aca5f8053348 100644 (file)
@@ -64,6 +64,10 @@ vconn_stream_new(struct stream *stream, int connect_status)
     s->stream = stream;
     s->txbuf = NULL;
     s->rxbuf = NULL;
+    s->vconn.remote_ip = stream_get_remote_ip(stream);
+    s->vconn.remote_port = stream_get_remote_port(stream);
+    s->vconn.local_ip = stream_get_local_ip(stream);
+    s->vconn.local_port = stream_get_local_port(stream);
     return &s->vconn;
 }