This commit is contained in:
mailchuck 2015-11-23 00:08:26 +01:00
parent 23dfe0a03e
commit c48b2f3c08
Signed by untrusted user who does not match committer: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -115,7 +115,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