diff options
author | Saurabh Mohan <saurabh.mohan@vyatta.com> | 2012-08-09 14:08:14 -0700 |
---|---|---|
committer | Saurabh Mohan <saurabh.mohan@vyatta.com> | 2012-08-09 14:08:14 -0700 |
commit | 1968f279c0489d32d364da43deee363965188ad4 (patch) | |
tree | d4da817bc1c90e3a1f5e6cc6607604f1f1d67409 /templates/vpn/ipsec | |
parent | d19c1dafc395261a01887ba5c2444371a2865f2c (diff) | |
download | vyatta-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/vpn/ipsec')
-rw-r--r-- | templates/vpn/ipsec/site-to-site/peer/node.tag/vti/mark/node.def | 2 |
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; |