V0.6 #852
|
@ -107,7 +107,7 @@ class Router:
|
||||||
self.localAddress = s.getsockname()[0]
|
self.localAddress = s.getsockname()[0]
|
||||||
logger.debug("Local IP: %s", self.localAddress)
|
logger.debug("Local IP: %s", self.localAddress)
|
||||||
try:
|
try:
|
||||||
s.shutdown(socket.SHUT.RDWR)
|
s.shutdown(socket.SHUT_RDWR)
|
||||||
s.close()
|
s.close()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
Reference in New Issue
Block a user