summaryrefslogtreecommitdiff
path: root/templates/firewall/ipv6-name
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2012-06-02 21:05:15 -0700
committerJohn Southworth <john.southworth@vyatta.com>2012-06-02 21:05:15 -0700
commit8a08387990b286a67125317e500bc81a3838b454 (patch)
tree0b2e37d5c6f2572347a3a77c58e2942605d40523 /templates/firewall/ipv6-name
parent892a2b9d6fb1274fbc2dd9489d154c516ffa074f (diff)
downloadvyatta-cfg-firewall-8a08387990b286a67125317e500bc81a3838b454.tar.gz
vyatta-cfg-firewall-8a08387990b286a67125317e500bc81a3838b454.zip
Make firewall syntax checks use the vyatta-util library
Diffstat (limited to 'templates/firewall/ipv6-name')
-rw-r--r--templates/firewall/ipv6-name/node.tag/rule/node.tag/destination/address/node.def2
-rw-r--r--templates/firewall/ipv6-name/node.tag/rule/node.tag/protocol/node.def2
-rw-r--r--templates/firewall/ipv6-name/node.tag/rule/node.tag/source/address/node.def2
-rw-r--r--templates/firewall/ipv6-name/node.tag/rule/node.tag/source/mac-address/node.def2
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/firewall/ipv6-name/node.tag/rule/node.tag/destination/address/node.def b/templates/firewall/ipv6-name/node.tag/rule/node.tag/destination/address/node.def
index 4953885..2ace3b3 100644
--- a/templates/firewall/ipv6-name/node.tag/rule/node.tag/destination/address/node.def
+++ b/templates/firewall/ipv6-name/node.tag/rule/node.tag/destination/address/node.def
@@ -9,5 +9,5 @@ val_help: !ipv6; Match everything except the specified address
val_help: !ipv6net; Match everything except the specified prefix
val_help: !ipv6range; Match everything except the specified range
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-validate-type.pl ipv6_addr_param $VAR(@)"
+syntax:expression: exec "/opt/vyatta/sbin/vyatta-validate-type ipv6_addr_param $VAR(@)"
diff --git a/templates/firewall/ipv6-name/node.tag/rule/node.tag/protocol/node.def b/templates/firewall/ipv6-name/node.tag/rule/node.tag/protocol/node.def
index ee3110f..5225eee 100644
--- a/templates/firewall/ipv6-name/node.tag/rule/node.tag/protocol/node.def
+++ b/templates/firewall/ipv6-name/node.tag/rule/node.tag/protocol/node.def
@@ -10,7 +10,7 @@ syntax:expression: exec "
if [ \"$param\" = \"tcp_udp\" ]; then
exit 0
fi
- /opt/vyatta/sbin/vyatta-validate-type.pl protocol_negate '$VAR(@)'
+ /opt/vyatta/sbin/vyatta-validate-type protocol_negate '$VAR(@)'
" ;
"invalid protocol \"$VAR(@)\""
diff --git a/templates/firewall/ipv6-name/node.tag/rule/node.tag/source/address/node.def b/templates/firewall/ipv6-name/node.tag/rule/node.tag/source/address/node.def
index b7a8d66..23ebb83 100644
--- a/templates/firewall/ipv6-name/node.tag/rule/node.tag/source/address/node.def
+++ b/templates/firewall/ipv6-name/node.tag/rule/node.tag/source/address/node.def
@@ -10,4 +10,4 @@ val_help: !ipv6; Match everything except the specified address
val_help: !ipv6net; Match everything except the specified prefix
val_help: !ipv6range; Match everything except the specified range
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-validate-type.pl ipv6_addr_param $VAR(@)"
+syntax:expression: exec "/opt/vyatta/sbin/vyatta-validate-type ipv6_addr_param $VAR(@)"
diff --git a/templates/firewall/ipv6-name/node.tag/rule/node.tag/source/mac-address/node.def b/templates/firewall/ipv6-name/node.tag/rule/node.tag/source/mac-address/node.def
index ad07881..5519871 100644
--- a/templates/firewall/ipv6-name/node.tag/rule/node.tag/source/mac-address/node.def
+++ b/templates/firewall/ipv6-name/node.tag/rule/node.tag/source/mac-address/node.def
@@ -1,3 +1,3 @@
type: txt
help: Source MAC address
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-validate-type.pl macaddr_negate '$VAR(@)'" ; "invalid MAC address \"$VAR(@)\""
+syntax:expression: exec "/opt/vyatta/sbin/vyatta-validate-type macaddr_negate '$VAR(@)'" ; "invalid MAC address \"$VAR(@)\""