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
ovs.stream: Fix logic bug in Stream.connect().
[sliver-openvswitch.git]
/
python
/
ovs
/
stream.py
diff --git
a/python/ovs/stream.py
b/python/ovs/stream.py
index
2192379
..
c1ce422
100644
(file)
--- a/
python/ovs/stream.py
+++ b/
python/ovs/stream.py
@@
-136,6
+136,7
@@
class Stream(object):
returns errno.EAGAIN."""
last_state = -1 # Always differs from initial self.state
while self.state != last_state:
+ last_state = self.state
if self.state == Stream.__S_CONNECTING:
self.__scs_connecting()
elif self.state == Stream.__S_CONNECTED: