summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-06-11 17:06:47 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-06-12 06:06:46 +0000
commit1be25d724acc04313592556e2c2f2dd4b89f53a2 (patch)
treed70fb2bc489e4ffd2dde79210fcecd6d579b9bf5 /interface-definitions/include/bgp
parent47a26d1f407c0d2be9d2bfae604cf88629928d2e (diff)
downloadvyos-1x-1be25d724acc04313592556e2c2f2dd4b89f53a2.tar.gz
vyos-1x-1be25d724acc04313592556e2c2f2dd4b89f53a2.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. (cherry picked from commit 80ea3d53b2224676d3e9287bce80df4407fe6c01)
Diffstat (limited to 'interface-definitions/include/bgp')
-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>