summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/section.py
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-04-11 17:45:15 +0200
committerGitHub <noreply@github.com>2024-04-11 17:45:15 +0200
commit00be89b76bc1b6ec0ce04dc7957a8dbc7a65065b (patch)
tree22b29acb5703f4cecc531c8c745448f08d05e974 /python/vyos/ifconfig/section.py
parent869a94fce6e16975580d02240bfaae2c584a2032 (diff)
parent29a20ce9f9792e23137be57358ca52ddee7ac54b (diff)
downloadvyos-1x-00be89b76bc1b6ec0ce04dc7957a8dbc7a65065b.tar.gz
vyos-1x-00be89b76bc1b6ec0ce04dc7957a8dbc7a65065b.zip
Merge pull request #3292 from sever-sever/T6222
T6222: VRRP show prefix for long rfc3768-compatibility interfaces allow prefix vrrp
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: