master
mailchuck 7 years ago committed by Peter Surda
parent ff358b1a1f
commit 410c23e8c0
  1. 2
      src/upnp.py

@ -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

Loading…
Cancel
Save