OF: send fin/ack in response to fin packet
Calls socket's close(). Reported-by: Guru Chaitanya Perakam <gperakam@Brocade.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Tested-by: Guru Chaitanya Perakam <gperakam@Brocade.com>
This commit is contained in:
parent
7025a0fd6d
commit
0de43f7b60
@ -165,6 +165,7 @@ class Datapath(ofproto_protocol.ProtocolDesc):
|
||||
ret = self.socket.recv(required_len)
|
||||
if len(ret) == 0:
|
||||
self.is_active = False
|
||||
self.socket.close()
|
||||
break
|
||||
buf += ret
|
||||
while len(buf) >= required_len:
|
||||
|
Loading…
Reference in New Issue
Block a user