Removed redundant refresh of UPNP when loading firewall

This commit is contained in:
David Buscher 2022-02-06 12:15:56 +00:00
parent 457f264a53
commit 8f2bdfbddc

View file

@ -235,7 +235,7 @@ def firewall_reload(skip_upnp=False):
# Retrieve firewall rules and UPnP status
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
try: