summaryrefslogtreecommitdiff
path: root/templates/policy/access-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/access-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/access-list6')
-rw-r--r--templates/policy/access-list6/node.tag/rule/node.tag/source/any/node.def6
-rw-r--r--templates/policy/access-list6/node.tag/rule/node.tag/source/exact-match/node.def3
-rw-r--r--templates/policy/access-list6/node.tag/rule/node.tag/source/network/node.def6
3 files changed, 5 insertions, 10 deletions
diff --git a/templates/policy/access-list6/node.tag/rule/node.tag/source/any/node.def b/templates/policy/access-list6/node.tag/rule/node.tag/source/any/node.def
index f08dd0dd..16b87410 100644
--- a/templates/policy/access-list6/node.tag/rule/node.tag/source/any/node.def
+++ b/templates/policy/access-list6/node.tag/rule/node.tag/source/any/node.def
@@ -1,5 +1,3 @@
help: Any IPv6 address to match
-
-commit:expression: ($VAR(../network/) == ""); "policy access-list6 $VAR(../../../@) rule $VAR(../../@) source: you may only define one filter type. (network|any)"
-
-commit:expression: $VAR(../../action/) != ""; "policy access-list6 $VAR(../../../@) rule $VAR(../../@) source: you must specify an action"
+commit:expression: ($VAR(../network/) == ""); "you may only define one filter type. (network|any)"
+commit:expression: $VAR(../../action/) != ""; "you must specify an action"
diff --git a/templates/policy/access-list6/node.tag/rule/node.tag/source/exact-match/node.def b/templates/policy/access-list6/node.tag/rule/node.tag/source/exact-match/node.def
index 170efc33..01565bea 100644
--- a/templates/policy/access-list6/node.tag/rule/node.tag/source/exact-match/node.def
+++ b/templates/policy/access-list6/node.tag/rule/node.tag/source/exact-match/node.def
@@ -1,3 +1,2 @@
help: Exact match of the network prefixes
-
-commit:expression: ($VAR(../any/) == ""); "policy access-list6 $VAR(../../../@) rule $VAR(../../@) source: exact-match can only be used with a network filter "
+commit:expression: ($VAR(../any/) == ""); "exact-match can only be used with a network filter "
diff --git a/templates/policy/access-list6/node.tag/rule/node.tag/source/network/node.def b/templates/policy/access-list6/node.tag/rule/node.tag/source/network/node.def
index ad10ba4d..eb97e759 100644
--- a/templates/policy/access-list6/node.tag/rule/node.tag/source/network/node.def
+++ b/templates/policy/access-list6/node.tag/rule/node.tag/source/network/node.def
@@ -1,7 +1,5 @@
type: ipv6net
help: Network/netmask to match (requires inverse-mask be defined)
val_help: IPv6 address and prefix length
-
-commit:expression: ($VAR(../any/) == ""); "policy access-list6 $VAR(../../../@) rule $VAR(../../@) source: you may only define one filter type. (network|any)"
-
-commit:expression: $VAR(../../action/) != ""; "policy access-list6 $VAR(../../../@) rule $VAR(../../@) source: you must specify an action"
+commit:expression: ($VAR(../any/) == ""); "you may only define one filter type. (network|any)"
+commit:expression: $VAR(../../action/) != ""; "you must specify an action"