summaryrefslogtreecommitdiff
path: root/templates/policy/community-list
diff options
context:
space:
mode:
authorRobert Bays <robert@vyatta.com>2010-07-21 17:40:48 -0700
committerRobert Bays <robert@vyatta.com>2010-07-21 17:40:48 -0700
commitd538bb7b58ebf74d6174992d69e57e829601d7ee (patch)
treecbf397fbec3414149850bdefd3e060712b54071f /templates/policy/community-list
parent93004ab85218f1877f85b037b2c9dde05cafb505 (diff)
downloadvyatta-cfg-quagga-d538bb7b58ebf74d6174992d69e57e829601d7ee.tar.gz
vyatta-cfg-quagga-d538bb7b58ebf74d6174992d69e57e829601d7ee.zip
remove explicit paths from commit error messages since that is handled by CLI now
Diffstat (limited to 'templates/policy/community-list')
-rw-r--r--templates/policy/community-list/node.tag/rule/node.tag/regex/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/policy/community-list/node.tag/rule/node.tag/regex/node.def b/templates/policy/community-list/node.tag/rule/node.tag/regex/node.def
index 49825567..8d903b33 100644
--- a/templates/policy/community-list/node.tag/rule/node.tag/regex/node.def
+++ b/templates/policy/community-list/node.tag/rule/node.tag/regex/node.def
@@ -5,9 +5,9 @@ val_help: Community list regular expression
syntax:expression: exec " \
if [ $VAR(../../@) -ge 1 ] && [ $VAR(../../@) -le 99 ]; then \
if [ -n \"`echo $VAR(@) | sed 's/[0-9]*:[0-9]*//g' | sed -e 's/internet//g' -e 's/local-AS//g' -e 's/no-advertise//g' -e 's/no-export//g'`\" ]; then \
- echo policy community-list $VAR(../../@) rule $VAR(../@): regex $VAR(@) is invalid for a standard community list; \
+ echo regex $VAR(@) is invalid for a standard community list; \
exit 1 ; \
fi ; \
fi ; "
-commit:expression: $VAR(../action/@) != ""; "policy community-list $VAR(../../@) rule $VAR(../@): You must specify an action"
+commit:expression: $VAR(../action/@) != ""; "You must specify an action"