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