summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorRobert Bays <robert@vyatta.com>2010-07-09 11:40:14 -0700
committerRobert Bays <robert@vyatta.com>2010-07-09 11:40:14 -0700
commitb949e1b8b6eab1902082eb719b0e292bb268b8b3 (patch)
treee508a07e10e7652c95ced89131f0002b4eab78a0 /templates
parent73ccafb61883dea3cf0ad355f1149288ee95c710 (diff)
downloadvyatta-cfg-quagga-b949e1b8b6eab1902082eb719b0e292bb268b8b3.tar.gz
vyatta-cfg-quagga-b949e1b8b6eab1902082eb719b0e292bb268b8b3.zip
As part of bug 5780, clean up the param generation
Diffstat (limited to 'templates')
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/distribute-list/export/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/distribute-list/export/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/distribute-list/export/node.def
index 14b77ddd..2867afbb 100644
--- a/templates/protocols/bgp/node.tag/neighbor/node.tag/distribute-list/export/node.def
+++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/distribute-list/export/node.def
@@ -3,7 +3,7 @@ help: Set an access-list to filter outgoing route updates to this neighbor
comp_help: possible completions:
<1-65535> access-list number
allowed: local -a params
- params=( /opt/vyatta/config/active/policy/access-list/* )
+ params=$( /opt/vyatta/sbin/vyatta-policy.pl --list-policy access-list )
echo -n ${params[@]##*/}
commit:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"policy access-list $VAR(@)\" "; \
"protocols bgp $VAR(../../../@) neighbor $VAR(../../@) export: access-list $VAR(@) doesn't exist"