summaryrefslogtreecommitdiff
path: root/templates/policy/prefix-list6
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/prefix-list6
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/prefix-list6')
-rw-r--r--templates/policy/prefix-list6/node.tag/rule/node.def8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/policy/prefix-list6/node.tag/rule/node.def b/templates/policy/prefix-list6/node.tag/rule/node.def
index 2af0eb88..5e466f47 100644
--- a/templates/policy/prefix-list6/node.tag/rule/node.def
+++ b/templates/policy/prefix-list6/node.tag/rule/node.def
@@ -5,9 +5,9 @@ val_help: u32:1-65535; Prefix list rule number
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "rule number must be between 1 and 65535"
-commit:expression: $VAR(./prefix/) != ""; "policy prefix-list6 $VAR(../@) rule $VAR(@): You must specify a prefix"
+commit:expression: $VAR(./prefix/) != ""; "You must specify a prefix"
-commit:expression: $VAR(./action/) != ""; "policy prefix-list6 $VAR(../@) rule $VAR(@): You must specify an action"
+commit:expression: $VAR(./action/) != ""; "You must specify an action"
delete: len=`echo $VAR(@) | awk -F/ '{ print $2 }'` ;
if [ -n "$VAR(./ge/@)" ]; then
@@ -22,14 +22,14 @@ delete: len=`echo $VAR(@) | awk -F/ '{ print $2 }'` ;
end: len=`echo $VAR(./prefix/@) | awk -F/ '{ print $2 }'` ;
if [ -n "$VAR(./ge/@)" ]; then
if [ $len -ge $VAR(./ge/@) ]; then
- echo "policy prefix-list $VAR(../@) rule $VAR(@): ge must be greater than prefix length";
+ echo "ge must be greater than prefix length";
exit 1 ;
fi ;
cond="ge $VAR(./ge/@) ";
fi;
if [ -n "$VAR(./le/@)" ]; then
if [ $VAR(./le/@) -ne 128 ] && [ -n "$VAR(./ge/@)" ] && [ $VAR(./le/@) -le $VAR(./ge/@) ]; then
- echo "policy prefix-list $VAR(../@) rule $VAR(@): le must be greater than or equal to ge";
+ echo "le must be greater than or equal to ge";
exit 1 ;
fi ;
cond="$cond le $VAR(./le/@) ";