mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] Increase discover delay for certain routers
This commit is contained in:
parent
b11d2f450b
commit
dda142e8ad
1 changed files with 2 additions and 2 deletions
|
@ -145,7 +145,7 @@ def firewall_reload():
|
|||
if upnp:
|
||||
try:
|
||||
upnpc = miniupnpc.UPnP()
|
||||
upnpc.discoverdelay = 200
|
||||
upnpc.discoverdelay = 3000
|
||||
if upnpc.discover() == 1:
|
||||
upnpc.selectigd()
|
||||
for protocol in ['TCP', 'UDP']:
|
||||
|
@ -228,7 +228,7 @@ def firewall_upnp(action=None):
|
|||
|
||||
try:
|
||||
upnpc = miniupnpc.UPnP()
|
||||
upnpc.discoverdelay = 200
|
||||
upnpc.discoverdelay = 3000
|
||||
if upnpc.discover() == 1:
|
||||
upnpc.selectigd()
|
||||
for protocol in ['TCP', 'UDP']:
|
||||
|
|
Loading…
Add table
Reference in a new issue