summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-06-11 17:06:47 +0200
committerChristian Breunig <christian@breunig.cc>2024-06-11 17:22:09 +0200
commit80ea3d53b2224676d3e9287bce80df4407fe6c01 (patch)
treef96e103e3188925afb5fa5af6624b5de7faf8750 /interface-definitions/include
parentdd813e5b79d612106b0bc7a064f9633be5da9571 (diff)
downloadvyos-1x-80ea3d53b2224676d3e9287bce80df4407fe6c01.tar.gz
vyos-1x-80ea3d53b2224676d3e9287bce80df4407fe6c01.zip
bgp: T6473: missing completion helper for peer-groups inside a VRF
Using BGP peer-groups inside a VRF instance will make use if the global VRFs peer-group list during tab-completion and not the peer-groups defined within the BGP instance of the given VRF.
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/bgp/peer-group.xml.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/bgp/peer-group.xml.i b/interface-definitions/include/bgp/peer-group.xml.i
index 3866fc017..c80d4a394 100644
--- a/interface-definitions/include/bgp/peer-group.xml.i
+++ b/interface-definitions/include/bgp/peer-group.xml.i
@@ -3,7 +3,7 @@
<properties>
<help>Peer group for this peer</help>
<completionHelp>
- <path>protocols bgp peer-group</path>
+ <path>${COMP_WORDS[@]:1:${#COMP_WORDS[@]}-5} peer-group</path>
</completionHelp>
<valueHelp>
<format>txt</format>