diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-03-12 15:32:37 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-12 15:32:37 +0000 |
| commit | 2fd93b7c6d33e674512167606440bf51540160e0 (patch) | |
| tree | 085fdea66b664d525e82d1c377c91a86c685fe72 /python | |
| parent | 6447987dcd86f0eaed9e55d8e466dc47f7116234 (diff) | |
| parent | 8d40fac8aad3588a0bb5615a176d857c6da41fc4 (diff) | |
| download | vyos-1x-2fd93b7c6d33e674512167606440bf51540160e0.tar.gz vyos-1x-2fd93b7c6d33e674512167606440bf51540160e0.zip | |
Merge pull request #5044 from sever-sever/T8357
T8357: Allow prefix vpp for show interfaces
Diffstat (limited to 'python')
| -rw-r--r-- | python/vyos/ifconfig/section.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/section.py b/python/vyos/ifconfig/section.py index 201494736..7f110de04 100644 --- a/python/vyos/ifconfig/section.py +++ b/python/vyos/ifconfig/section.py @@ -97,7 +97,9 @@ class Section: for ifname in interfaces: ifsection = cls.section(ifname) - if not ifsection and not ifname.startswith('vrrp'): + if not ifsection and not ( + ifname.startswith('vrrp') or ifname.startswith('vpp') + ): continue if section and ifsection != section: |
