diff options
author | Robert Bays <robert@vyatta.com> | 2011-12-19 17:09:43 -0800 |
---|---|---|
committer | Robert Bays <robert@vyatta.com> | 2011-12-19 17:09:43 -0800 |
commit | 6d9cc6d60b556b31402fa1ab742e3045ba3dc254 (patch) | |
tree | 2ba52eb1898063edf0ed5b5cb3ba50649a67fc55 | |
parent | c4b183042a67ffefa19b81819fb555b535a7d3f3 (diff) | |
download | vyatta-cfg-quagga-6d9cc6d60b556b31402fa1ab742e3045ba3dc254.tar.gz vyatta-cfg-quagga-6d9cc6d60b556b31402fa1ab742e3045ba3dc254.zip |
Bug 7582: Errors on generating allowed values under an edit level for protocols bgp <> neighbor <> peer-group
peer-group teplate: change compwords to variable reference
-rw-r--r-- | templates/protocols/bgp/node.tag/neighbor/node.tag/peer-group/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/peer-group/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/peer-group/node.def index 83985e10..5da142d6 100644 --- a/templates/protocols/bgp/node.tag/neighbor/node.tag/peer-group/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/peer-group/node.def @@ -1,6 +1,6 @@ type: txt help: IPv4 peer group for this peer allowed: local -a params - params=$( /opt/vyatta/sbin/vyatta-bgp.pl --list-peer-groups --as ${COMP_WORDS[3]} ) + params=$( /opt/vyatta/sbin/vyatta-bgp.pl --list-peer-groups --as $VAR(../../@) ) echo -n ${params[@]##*/} commit:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"protocols bgp $VAR(../../@) peer-group $VAR(@)\" "; "protocols bgp $VAR(../../@) peer-group $VAR(@) doesn't exist" |