summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/section.py
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-04-12 03:25:55 +0200
committerGitHub <noreply@github.com>2024-04-12 03:25:55 +0200
commit41ad411e11f608a7ded9bf0ce9cbffad8467aa5a (patch)
tree0d2b940a9ddb18e6b77c304ffb14c1ca182f5557 /python/vyos/ifconfig/section.py
parented3c5988e2334b2775eb0cb092df69567384ddd7 (diff)
parentdba6472c662c6bb189c11eb7cf77229f6b21d0b5 (diff)
downloadvyos-1x-41ad411e11f608a7ded9bf0ce9cbffad8467aa5a.tar.gz
vyos-1x-41ad411e11f608a7ded9bf0ce9cbffad8467aa5a.zip
Merge pull request #3295 from vyos/mergify/bp/sagitta/pr-3292
T6222: VRRP show prefix for long rfc3768-compatibility interfaces allow prefix vrrp (backport #3292)
Diffstat (limited to 'python/vyos/ifconfig/section.py')
-rw-r--r--python/vyos/ifconfig/section.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/section.py b/python/vyos/ifconfig/section.py
index 5e98cd510..50273cf67 100644
--- a/python/vyos/ifconfig/section.py
+++ b/python/vyos/ifconfig/section.py
@@ -97,7 +97,7 @@ class Section:
for ifname in interfaces:
ifsection = cls.section(ifname)
- if not ifsection:
+ if not ifsection and not ifname.startswith('vrrp'):
continue
if section and ifsection != section: