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

View File

@ -214,7 +214,7 @@ class uPnPThread(threading.Thread, StoppableThread):
for router in self.routers:
if router.extPort is None:
self.createPortMapping(router)
self.sock.shutdown(socket.SHUT.RDWR)
self.sock.shutdown(socket.SHUT_RDWR)
self.sock.close()
deleted = False
for router in self.routers: