summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(@)"