summaryrefslogtreecommitdiff
path: root/templates/policy/route-map
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-01-14 12:17:37 -0800
committerStig Thormodsrud <stig@vyatta.com>2008-01-14 12:17:37 -0800
commit78124a9754efe0bda1d9c827c593c5e0635fec3c (patch)
treeac2cd10d01b5aedd2e67ed420270072b5307ba60 /templates/policy/route-map
parent74acf758d9059cf9832403da644c4f8eb088563e (diff)
downloadvyatta-cfg-quagga-78124a9754efe0bda1d9c827c593c5e0635fec3c.tar.gz
vyatta-cfg-quagga-78124a9754efe0bda1d9c827c593c5e0635fec3c.zip
Fix bug 2643: perfix-list can be committed without any action being set
Diffstat (limited to 'templates/policy/route-map')
-rw-r--r--templates/policy/route-map/node.tag/rule/node.tag/set/comm-list/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/policy/route-map/node.tag/rule/node.tag/set/comm-list/node.def b/templates/policy/route-map/node.tag/rule/node.tag/set/comm-list/node.def
index a6169894..1eadf4c2 100644
--- a/templates/policy/route-map/node.tag/rule/node.tag/set/comm-list/node.def
+++ b/templates/policy/route-map/node.tag/rule/node.tag/set/comm-list/node.def
@@ -4,7 +4,7 @@ end: "if [ -z \"$(./comm-list/)\" ]; then \
echo You must configure a comm-list ; \
exit 1 ; \
fi ; \
- \\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \
+ \\${vyatta_sbindir}/vyatta-vtysh.pl -noerr -c \"configure terminal\" \
-c \"route-map $(../../../@) $(../../action/@) $(../../@)\" \
-c \"no set comm-list \" ; \
if [ -f \"/tmp/policy-route-map-$(../../../@)-$(../../action/@)-$(../../@)-set-comm-list.\\$PPID\" ]; then \