summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniil Baturin <daniil.baturin@vyatta.com>2012-03-29 03:03:04 +0700
committerDaniil Baturin <daniil.baturin@vyatta.com>2012-03-29 03:03:04 +0700
commit8c76bad0943e219db5377708eaf65a12bfba9edd (patch)
treec21622881dbbfdf0cd23eb60012d7d10678080f1 /templates
parent6746df51d7ac8e2f487dd74ca8b23c74fb4f28c1 (diff)
downloadvyatta-cfg-vpn-8c76bad0943e219db5377708eaf65a12bfba9edd.tar.gz
vyatta-cfg-vpn-8c76bad0943e219db5377708eaf65a12bfba9edd.zip
Rename local-ip option to local-address.
Diffstat (limited to 'templates')
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/local-address/node.def5
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/local-ip/node.def2
2 files changed, 5 insertions, 2 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
new file mode 100644
index 0000000..370b2bd
--- /dev/null
+++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/local-address/node.def
@@ -0,0 +1,5 @@
+help: IPv4 or IPv6 address of a local interface to use for VPN
+type: txt
+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(@)"
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/local-ip/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/local-ip/node.def
deleted file mode 100644
index cd338a9..0000000
--- a/templates/vpn/ipsec/site-to-site/peer/node.tag/local-ip/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: IP address of a local interface to use for VPN
-type: ipv4