summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSaurabh Mohan <saurabh.mohan@vyatta.com>2012-08-09 14:08:14 -0700
committerSaurabh Mohan <saurabh.mohan@vyatta.com>2012-08-09 14:08:14 -0700
commit1968f279c0489d32d364da43deee363965188ad4 (patch)
treed4da817bc1c90e3a1f5e6cc6607604f1f1d67409 /templates
parentd19c1dafc395261a01887ba5c2444371a2865f2c (diff)
downloadvyatta-cfg-vpn-1968f279c0489d32d364da43deee363965188ad4.tar.gz
vyatta-cfg-vpn-1968f279c0489d32d364da43deee363965188ad4.zip
Bugfix 8264: Check if the intf name is defined before using it in the script.
Fix the error message for undefined intf name in error message. Also, add changes to incorporate mark's from range 0-2047. Print warning if a vti interface is defined but not used. Hopefully this will help users understand that they have a partial configuration.
Diffstat (limited to 'templates')
-rw-r--r--templates/vpn/ipsec/site-to-site/peer/node.tag/vti/mark/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/mark/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/mark/node.def
index 1d29970..0ccee30 100644
--- a/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/mark/node.def
+++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/vti/mark/node.def
@@ -1,2 +1,4 @@
type: u32
+syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 2047
help: Mark associated with the secure tunnel interface [REQUIRED]
+val_help: u32:0-2047;