diff options
author | mtudosoiu <marian.tudosoiu@1and1.ro> | 2018-03-14 11:06:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-14 11:06:05 +0200 |
commit | 6a5ef5fbfa2d1f399bf3584710c5e1a7f9380b30 (patch) | |
tree | 3bc4687716f123132c38dd44fcfbf7fc83420b7a /templates/firewall | |
parent | b831173966f0df13c1e916e85005a8e79ec93fe8 (diff) | |
download | vyatta-cfg-firewall-6a5ef5fbfa2d1f399bf3584710c5e1a7f9380b30.tar.gz vyatta-cfg-firewall-6a5ef5fbfa2d1f399bf3584710c5e1a7f9380b30.zip |
Task T35 place ipv6 groups under group config tree
Diffstat (limited to 'templates/firewall')
-rw-r--r-- | templates/firewall/group/ipv6-address-group/node.tag/address/node.def | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/firewall/group/ipv6-address-group/node.tag/address/node.def b/templates/firewall/group/ipv6-address-group/node.tag/address/node.def index ba944e6..5bd948b 100644 --- a/templates/firewall/group/ipv6-address-group/node.tag/address/node.def +++ b/templates/firewall/group/ipv6-address-group/node.tag/address/node.def @@ -3,4 +3,7 @@ type: txt help: Address-group member val_help: ipv6; IPv6 address to match +syntax:expression: pattern $VAR(@) "^[^|;&$<>/]*$" ; \ + "Error [$VAR(@)] isn't valid IPv6 host address" + syntax:expression: exec "/opt/vyatta/sbin/vyatta-validate-type ipv6_addr_param $VAR(@)" |