diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-11-13 20:55:09 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-11-13 21:00:16 +0100 |
commit | c99bab513e81e7d3e135a57d95cdf1375ead393c (patch) | |
tree | f43596a6d9b18d37b2203fdef4335307096fecfb /templates/vpn | |
parent | 2fbd0e519cc232d86651df3f00eca1135ed58af8 (diff) | |
download | vyatta-cfg-vpn-c99bab513e81e7d3e135a57d95cdf1375ead393c.tar.gz vyatta-cfg-vpn-c99bab513e81e7d3e135a57d95cdf1375ead393c.zip |
T1006: replace the is_valid_address.pl script with ipaddrcheck.
Diffstat (limited to 'templates/vpn')
-rw-r--r-- | templates/vpn/ipsec/site-to-site/peer/node.tag/local-address/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/local-address/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/local-address/node.def index c738bd6..20f0b6e 100644 --- a/templates/vpn/ipsec/site-to-site/peer/node.tag/local-address/node.def +++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/local-address/node.def @@ -6,4 +6,4 @@ allowed: echo "any" val_help: ipv4; IPv4 address of a local interface for VPN val_help: ipv6; IPv6 address of a local interface for VPN val_help: any; Allow any IPv4 address present on the system to be used for VPN -syntax:expression: exec "/opt/vyatta/sbin/is_valid_address.pl $VAR(@)" +syntax:expression: exec "ipaddrcheck --verbose --is-any-single $VAR(@)" |