summaryrefslogtreecommitdiff
path: root/src/conf_mode/firewall.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-24 17:39:23 +0100
committerGitHub <noreply@github.com>2023-12-24 17:39:23 +0100
commitfb3a7e30bffc949584bbb0ad1f6632ef940605be (patch)
tree579857d662c665bcb636befa705eadbba8d416b6 /src/conf_mode/firewall.py
parent8e6da6bdf7d0b9b6a562e10ed0ffd8d9d59cfeaa (diff)
parent4ee4064705ebd1e1a6a59be0c6df3b96755a067e (diff)
downloadvyos-1x-fb3a7e30bffc949584bbb0ad1f6632ef940605be.tar.gz
vyos-1x-fb3a7e30bffc949584bbb0ad1f6632ef940605be.zip
Merge pull request #2682 from c-po/node-changed-t5837
configdict: T5837: add support to return added nodes when calling node_changed()
Diffstat (limited to 'src/conf_mode/firewall.py')
-rwxr-xr-xsrc/conf_mode/firewall.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/firewall.py b/src/conf_mode/firewall.py
index ceed0cf31..da6724fde 100755
--- a/src/conf_mode/firewall.py
+++ b/src/conf_mode/firewall.py
@@ -23,7 +23,7 @@ from sys import exit
from vyos.base import Warning
from vyos.config import Config
-from vyos.configdict import node_changed
+from vyos.configdict import is_node_changed
from vyos.configdiff import get_config_diff, Diff
from vyos.configdep import set_dependents, call_dependents
from vyos.configverify import verify_interface_exists
@@ -133,7 +133,7 @@ def get_config(config=None):
with_recursive_defaults=True)
- firewall['group_resync'] = bool('group' in firewall or node_changed(conf, base + ['group']))
+ firewall['group_resync'] = bool('group' in firewall or is_node_changed(conf, base + ['group']))
if firewall['group_resync']:
# Update nat and policy-route as firewall groups were updated
set_dependents('group_resync', conf)