diff options
author | Christian Breunig <christian@breunig.cc> | 2024-06-11 17:06:47 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-06-12 06:06:46 +0000 |
commit | 1be25d724acc04313592556e2c2f2dd4b89f53a2 (patch) | |
tree | d70fb2bc489e4ffd2dde79210fcecd6d579b9bf5 /interface-definitions/include/bgp/peer-group.xml.i | |
parent | 47a26d1f407c0d2be9d2bfae604cf88629928d2e (diff) | |
download | vyos-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/peer-group.xml.i')
-rw-r--r-- | interface-definitions/include/bgp/peer-group.xml.i | 2 |
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> |