Revert "[enh] Improve upnp support (#542)"

This reverts commit 640bc494cb.
This commit is contained in:
Alexandre Aubin 2019-01-08 16:25:43 +01:00
parent 2e0efb5b56
commit 4935aebb16

View file

@ -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...')