From 8b8c675759fbbfebd6808d56b6ae6570d88136aa Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 6 Jul 2023 16:28:15 +0200 Subject: [PATCH] Rename networks.json to ipsets.json Getting ready for some changes. --- web/system.py | 2 +- web/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/system.py b/web/system.py index 968cc02..4cea045 100644 --- a/web/system.py +++ b/web/system.py @@ -70,7 +70,7 @@ def save_config(): # Populate IP sets and translation maps for NAT. ipsets = collections.defaultdict(set) - for name, network in db.read('networks').items(): + for name, network in db.read('ipsets').items(): ipsets[name].update(network.get('ip', ())) ipsets[f'{name}/6'].update(network.get('ip6', ())) diff --git a/web/templates/index.html b/web/templates/index.html index 790441f..7d188ff 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -6,7 +6,7 @@
Nastavitve
nastavitve aplikacije FRIwall -
Omrežja +
Obsegi IP
definicije obsegov IP
Urejanje pravil
pravila za posredovanje prometa