ovs-vsctl: Add test suite, documentation for br-to-vlan, br-to-parent.
[sliver-openvswitch.git] / lib / vconn-tcp.c
index eece228..998a200 100644 (file)
@@ -75,7 +75,7 @@ tcp_open(const char *name, char *suffix, struct vconn **vconnp)
     struct sockaddr_in sin;
     int fd, error;
 
-    error = tcp_open_active(suffix, OFP_TCP_PORT, NULL, &fd);
+    error = tcp_open_active(suffix, OFP_TCP_PORT, &sin, &fd);
     if (fd >= 0) {
         return new_tcp_vconn(name, fd, error, &sin, vconnp);
     } else {