V0.6 #852
|
@ -206,7 +206,7 @@ class uPnPThread(threading.Thread, StoppableThread):
|
||||||
for router in self.routers:
|
for router in self.routers:
|
||||||
if router.extPort is None:
|
if router.extPort is None:
|
||||||
self.createPortMapping(router)
|
self.createPortMapping(router)
|
||||||
self.sock.shutdown(socket.SHUT.RDWR)
|
self.sock.shutdown(socket.SHUT_RDWR)
|
||||||
self.sock.close()
|
self.sock.close()
|
||||||
deleted = False
|
deleted = False
|
||||||
for router in self.routers:
|
for router in self.routers:
|
||||||
|
|
Reference in New Issue
Block a user