summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_conntrack-sync.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-08-19 18:13:14 +0200
committerGitHub <noreply@github.com>2024-08-19 18:13:14 +0200
commit827fcb2967ec41d288248e5760707e3980415a34 (patch)
tree68cbbf736c88263411cbe6867e9f4881a50c68df /src/conf_mode/service_conntrack-sync.py
parentab4a52254622c32d2293dd4d683aa440a9b60330 (diff)
parenta6362cc32135b39b4320221006f48fef78f40c24 (diff)
downloadvyos-1x-827fcb2967ec41d288248e5760707e3980415a34.tar.gz
vyos-1x-827fcb2967ec41d288248e5760707e3980415a34.zip
Merge pull request #3973 from vyos/mergify/bp/sagitta/pr-3961
configverify: T6642: verify_interface_exists requires config_dict arg (backport #3961)
Diffstat (limited to 'src/conf_mode/service_conntrack-sync.py')
-rwxr-xr-xsrc/conf_mode/service_conntrack-sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/service_conntrack-sync.py b/src/conf_mode/service_conntrack-sync.py
index 4fb2ce27f..3a233a172 100755
--- a/src/conf_mode/service_conntrack-sync.py
+++ b/src/conf_mode/service_conntrack-sync.py
@@ -67,7 +67,7 @@ def verify(conntrack):
has_peer = False
for interface, interface_config in conntrack['interface'].items():
- verify_interface_exists(interface)
+ verify_interface_exists(conntrack, interface)
# Interface must not only exist, it must also carry an IP address
if len(get_ipv4(interface)) < 1:
raise ConfigError(f'Interface {interface} requires an IP address!')