diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-08-08 10:54:38 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-08-08 10:54:38 -0700 |
commit | 35ef3ab0d3ead228ebb96cbca6b348b1f1c9e1b9 (patch) | |
tree | 7137a566b981c7d7cab5a0e714e4e80903209dbe /templates/policy/access-list | |
parent | cc2dc022efb72aa5afe00b71fa5dfca5cf7f43bc (diff) | |
download | vyatta-cfg-quagga-35ef3ab0d3ead228ebb96cbca6b348b1f1c9e1b9.tar.gz vyatta-cfg-quagga-35ef3ab0d3ead228ebb96cbca6b348b1f1c9e1b9.zip |
Fix syntax problems identified by /opt/vyatta/sbin/check_tmpl
Diffstat (limited to 'templates/policy/access-list')
-rw-r--r-- | templates/policy/access-list/node.tag/rule/node.tag/destination/any/node.def | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/policy/access-list/node.tag/rule/node.tag/destination/any/node.def b/templates/policy/access-list/node.tag/rule/node.tag/destination/any/node.def index e8704ac4..34b31199 100644 --- a/templates/policy/access-list/node.tag/rule/node.tag/destination/any/node.def +++ b/templates/policy/access-list/node.tag/rule/node.tag/destination/any/node.def @@ -1,7 +1,10 @@ help: Set any IP address to match -commit:expression: ($VAR(../../../@) >= 100 && $VAR(../../../@) <= 199) || ($VAR(../../../@) >= 2000 && $VAR(../../../@) <= 2699); "\ + +commit:expression: ($VAR(../../../@) >= 100 && $VAR(../../../@) <= 199) || ($VAR(../../../@) >= 2000 && $VAR(../../../@) <= 2699); "\ policy access-list $VAR(../../../@) rule $VAR(../../@) destination: access-list number must be <100-199> or <2000-2699> to set destination matches" + commit:expression: ($VAR(../host/) == "") && ($VAR(../network/) == ""); "\ policy access-list $VAR(../../../@) rule $VAR(../../@) destination: you may only define one filter type. (host|network|any)" + commit:expression: $VAR(../../action/) != ""; "policy access-list $VAR(../../../@) rule $VAR(../../@) destination: you must specify an action" |