projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
stream: Add stream_run(), stream_run_wait() functions.
[openvswitch]
/
lib
/
vconn.c
diff --git
a/lib/vconn.c
b/lib/vconn.c
index b11650fbc8b10f5a853bb49631f81d0d47b63ad3..7b9ae610e843f681e88dfae814a303b63232ca16 100644
(file)
--- a/
lib/vconn.c
+++ b/
lib/vconn.c
@@
-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