V0.6 #852
|
@ -201,6 +201,7 @@ class uPnPThread(threading.Thread):
|
||||||
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.close()
|
||||||
for router in self.routers:
|
for router in self.routers:
|
||||||
if router.extPort is not None:
|
if router.extPort is not None:
|
||||||
self.deletePortMapping(router)
|
self.deletePortMapping(router)
|
||||||
|
|
Reference in New Issue
Block a user