Skip to content

Commit

Permalink
Revert "[enh] Improve upnp support (#542)"
Browse files Browse the repository at this point in the history
This reverts commit 640bc49.
  • Loading branch information
alexAubin committed Jan 8, 2019
1 parent 2e0efb5 commit 4935aeb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/yunohost/firewall.py
Expand Up @@ -342,8 +342,7 @@ def firewall_upnp(action='status', no_refresh=False):
# Refresh port mapping using UPnP
if not no_refresh:
upnpc = miniupnpc.UPnP()
upnpc.discoverdelay = 62000
upnpc.localport = 1900
upnpc.discoverdelay = 3000

# Discover UPnP device(s)
logger.debug('discovering UPnP devices...')
Expand Down

0 comments on commit 4935aeb

Please sign in to comment.