From d49b1c164dd8692012833bd31ec363d3642b6f76 Mon Sep 17 00:00:00 2001 From: Andreas Wrede Date: Wed, 4 Sep 2013 00:21:33 +0200 Subject: [PATCH] don't die if we cannot send an ACK --- hbd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hbd b/hbd index 125d500..a62088b 100755 --- a/hbd +++ b/hbd @@ -386,7 +386,10 @@ def fromaddr(name, addr, boot, interval, acks): def readsock(): global htab, win data, addr = sock.recvfrom(1024) - sock.sendto("ACK", addr) + try: + sock.sendto("ACK", addr) + except: + pass pairs = string.split(data, ';') boot = 0 shutdown = 0