X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fvconn-stream.c;h=aa2e61947222fcee92afd2541403aca5f8053348;hb=26ad129e69fc7c800630dbd541dc2dcc8150c3a4;hp=7a9ef389c75ae7b2c49fad3b201fab93e7a386ea;hpb=907819c36692a3e13229c0e40d73432e83e84f62;p=openvswitch diff --git a/lib/vconn-stream.c b/lib/vconn-stream.c index 7a9ef389..aa2e6194 100644 --- a/lib/vconn-stream.c +++ b/lib/vconn-stream.c @@ -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; }