This commit is contained in:
mailchuck 2015-11-23 00:08:26 +01:00 committed by Peter Surda
parent ff358b1a1f
commit 410c23e8c0

View File

@ -107,7 +107,7 @@ class Router:
self.localAddress = s.getsockname()[0]
logger.debug("Local IP: %s", self.localAddress)
try:
s.shutdown(socket.SHUT.RDWR)
s.shutdown(socket.SHUT_RDWR)
s.close()
except:
pass