summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian May <brian@microcomaustralia.com.au>2015-04-12 09:59:49 +1000
committerBrian May <brian@microcomaustralia.com.au>2015-04-12 09:59:49 +1000
commit2cfc39fac854154b5cbff56713cd3e108c1b29a2 (patch)
treef1ef2fee3e8b23fb05ad439cf26961bf8480784f
parent29819ea0af0959a3751a3264a9f607e230677b97 (diff)
Fix UDP channel expiration.sshuttle-0.71
-rw-r--r--src/server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server.py b/src/server.py
index 59727a3..a5d4661 100644
--- a/src/server.py
+++ b/src/server.py
@@ -328,6 +328,7 @@ def main():
debug3('expiring dnsreqs channel=%d\n' % channel)
del dnshandlers[channel]
h.ok = False
+ if udphandlers:
for channel, h in udphandlers.items():
if not h.ok:
debug3('expiring UDP channel=%d\n' % channel)