diff options
author | Robert Bays <robert@vyatta.com> | 2010-07-21 17:40:48 -0700 |
---|---|---|
committer | Robert Bays <robert@vyatta.com> | 2010-07-21 17:40:48 -0700 |
commit | d538bb7b58ebf74d6174992d69e57e829601d7ee (patch) | |
tree | cbf397fbec3414149850bdefd3e060712b54071f /templates/policy/prefix-list | |
parent | 93004ab85218f1877f85b037b2c9dde05cafb505 (diff) | |
download | vyatta-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-list')
-rw-r--r-- | templates/policy/prefix-list/node.tag/rule/node.def | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/policy/prefix-list/node.tag/rule/node.def b/templates/policy/prefix-list/node.tag/rule/node.def index 8245f766..e779122a 100644 --- a/templates/policy/prefix-list/node.tag/rule/node.def +++ b/templates/policy/prefix-list/node.tag/rule/node.def @@ -5,8 +5,8 @@ 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-list $VAR(../@) rule $VAR(@): You must specify a prefix" -commit:expression: $VAR(./action/) != ""; "policy prefix-list $VAR(../@) rule $VAR(@): You must specify an action" +commit:expression: $VAR(./prefix/) != ""; "You must specify a prefix" +commit:expression: $VAR(./action/) != ""; "You must specify an action" delete: touch /tmp/protocols-$VAR(../@)-$VAR(@).$PPID ; len=`echo $VAR(@) | awk -F/ '{ print $2 }'` ; @@ -22,14 +22,14 @@ delete: touch /tmp/protocols-$VAR(../@)-$VAR(@).$PPID ; 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 32 ] && [ -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/@) "; |