mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Removed redundant refresh of UPNP when loading firewall
This commit is contained in:
parent
457f264a53
commit
8f2bdfbddc
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ def firewall_reload(skip_upnp=False):
|
||||||
|
|
||||||
# Retrieve firewall rules and UPnP status
|
# Retrieve firewall rules and UPnP status
|
||||||
firewall = firewall_list(raw=True)
|
firewall = firewall_list(raw=True)
|
||||||
upnp = firewall_upnp()["enabled"] if not skip_upnp else False
|
upnp = firewall_upnp(no_refresh=True)["enabled"] if not skip_upnp else False
|
||||||
|
|
||||||
# IPv4
|
# IPv4
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Reference in a new issue