stream: Add stream_run(), stream_run_wait() functions.
[sliver-openvswitch.git] / lib / vconn.c
index b11650f..7b9ae61 100644 (file)
@@ -1444,6 +1444,7 @@ vconn_init(struct vconn *vconn, struct vconn_class *class, int connect_status,
     vconn->local_ip = 0;
     vconn->local_port = 0;
     vconn->name = xstrdup(name);
+    assert(vconn->state != VCS_CONNECTING || class->connect);
 }
 
 void