From 116765680a142c698da9da3ff7c4637ff88cb825 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 29 Mar 2012 03:10:47 +0700 Subject: Add any special case for local-address instead of 0.0.0.0. --- .../vpn/ipsec/site-to-site/peer/node.tag/local-address/node.def | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'templates') 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 370b2bd..c738bd6 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 @@ -1,5 +1,9 @@ help: IPv4 or IPv6 address of a local interface to use for VPN +type: ipv4 +type: ipv6 type: txt +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 -syntax:expression: exec "/opt/vyatta/sbin/is_valid_address.pl $VAR(@)" +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(@)" -- cgit v1.2.3