don't die if we cannot send an ACK

This commit is contained in:
2013-09-04 00:21:33 +02:00
parent cc00f6e82e
commit d49b1c164d
+3
View File
@@ -386,7 +386,10 @@ def fromaddr(name, addr, boot, interval, acks):
def readsock(): def readsock():
global htab, win global htab, win
data, addr = sock.recvfrom(1024) data, addr = sock.recvfrom(1024)
try:
sock.sendto("ACK", addr) sock.sendto("ACK", addr)
except:
pass
pairs = string.split(data, ';') pairs = string.split(data, ';')
boot = 0 boot = 0
shutdown = 0 shutdown = 0