git://git.onelab.eu
/
sliver-openvswitch.git
/ 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.
[sliver-openvswitch.git]
/
lib
/
vconn.c
diff --git
a/lib/vconn.c
b/lib/vconn.c
index
b11650f
..
7b9ae61
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