UPnP fixes
This commit is contained in:
parent
84b47877b1
commit
3dcd8be993
|
@ -209,6 +209,7 @@ class uPnPThread(threading.Thread):
|
|||
for router in self.routers:
|
||||
if router.extPort is None:
|
||||
self.createPortMapping(router)
|
||||
self.sock.close()
|
||||
for router in self.routers:
|
||||
if router.extPort is not None:
|
||||
self.deletePortMapping(router)
|
||||
|
|
Loading…
Reference in New Issue
Block a user