stream: Add stream_run(), stream_run_wait() functions.
[openvswitch] / lib / vconn.c
index b11650fbc8b10f5a853bb49631f81d0d47b63ad3..7b9ae610e843f681e88dfae814a303b63232ca16 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