summaryrefslogtreecommitdiff
path: root/templates/firewall/group/address-group
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/group/address-group
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/group/address-group')
-rw-r--r--templates/firewall/group/address-group/node.tag/address/node.def6
1 files changed, 1 insertions, 5 deletions
diff --git a/templates/firewall/group/address-group/node.tag/address/node.def b/templates/firewall/group/address-group/node.tag/address/node.def
index 2629b9d..b5060ea 100644
--- a/templates/firewall/group/address-group/node.tag/address/node.def
+++ b/templates/firewall/group/address-group/node.tag/address/node.def
@@ -4,9 +4,5 @@ help: Address-group member
val_help: ipv4; IPv4 address to match
val_help: ipv4range; IPv4 range to match (e.g. 10.0.0.1-10.0.0.200)
-syntax:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \
- --action=check-member \
- --set-name=$VAR(../@) \
- --set-type=address \
- --member=\"$VAR(@)\"; "
+syntax:expression: exec "/opt/vyatta/sbin/ipset-check-member address $VAR(@)"