summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-11-13 21:33:12 +0100
committerDaniil Baturin <daniil@baturin.org>2018-11-13 21:33:12 +0100
commitde1f3fbfaaa499e476ae15d53a023e286908c009 (patch)
treef48821b7c7ac86a7139a314e813e139c4e844a3d /templates
parenta15cc184a9d2f5fcff971828bb5f043bb244d6dc (diff)
downloadvyatta-cfg-vpn-de1f3fbfaaa499e476ae15d53a023e286908c009.tar.gz
vyatta-cfg-vpn-de1f3fbfaaa499e476ae15d53a023e286908c009.zip
T1006: allow the "any" value for the local-address option.
Diffstat (limited to 'templates')
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/local-address/node.def2
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 20f0b6e..7ac85f5 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 "ipaddrcheck --verbose --is-any-single $VAR(@)"
+syntax:expression: exec "${vyos_libexec_dir}/validate-value.py --exec \"ipaddrcheck --verbose --is-any-single\" --regex \'any\' --value $VAR(@)"