UPnP fixes

This commit is contained in:
mailchuck 2015-11-22 01:10:02 +01:00
parent 84b47877b1
commit 3dcd8be993
Signed by untrusted user who does not match committer: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

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