UPnP fixes

This commit is contained in:
mailchuck 2015-11-22 01:10:02 +01:00 committed by Peter Surda
parent 8c14641810
commit 50be5a2b4c
1 changed files with 1 additions and 0 deletions

View File

@ -201,6 +201,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)