mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Improve upnp support (#542)
This commit is contained in:
parent
41c1a9ce13
commit
640bc494cb
1 changed files with 2 additions and 1 deletions
|
@ -343,7 +343,8 @@ def firewall_upnp(action='status', no_refresh=False):
|
|||
# Refresh port mapping using UPnP
|
||||
if not no_refresh:
|
||||
upnpc = miniupnpc.UPnP()
|
||||
upnpc.discoverdelay = 3000
|
||||
upnpc.discoverdelay = 62000
|
||||
upnpc.localport = 1900
|
||||
|
||||
# Discover UPnP device(s)
|
||||
logger.debug('discovering UPnP devices...')
|
||||
|
|
Loading…
Add table
Reference in a new issue