Save UPnP externa port after creating mapping
This commit is contained in:
parent
cd0972c0f3
commit
e15d9e3e03
|
@ -284,6 +284,7 @@ class uPnPThread(threading.Thread, StoppableThread):
|
|||
shared.extPort = extPort
|
||||
self.extPort = extPort
|
||||
BMConfigParser().set('bitmessagesettings', 'extport', str(extPort))
|
||||
BMConfigParser().save()
|
||||
break
|
||||
except UPnPError:
|
||||
logger.debug("UPnP error: ", exc_info=True)
|
||||
|
|
Reference in New Issue
Block a user