diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-13 21:23:11 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-03-13 21:23:49 +0100 |
commit | 097d8c99e4aa27d7dca2c250a6a2c221f9bcde83 (patch) | |
tree | 71acd74ec1471ced9fb562a9a537725455227ed3 | |
parent | 7620a8a1d6d20d4bf16e714a9d40b7bdfb133b39 (diff) | |
download | vyos-1x-097d8c99e4aa27d7dca2c250a6a2c221f9bcde83.tar.gz vyos-1x-097d8c99e4aa27d7dca2c250a6a2c221f9bcde83.zip |
tunnel: T3406: support ipv6 encaplimit "none" which disables the fiel
(cherry picked from commit 894a5d6daee5f785834a2f360d66eb9b8e112465)
-rw-r--r-- | interface-definitions/interfaces-tunnel.xml.in | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/interface-definitions/interfaces-tunnel.xml.in b/interface-definitions/interfaces-tunnel.xml.in index 10dd3091d..632464d37 100644 --- a/interface-definitions/interfaces-tunnel.xml.in +++ b/interface-definitions/interfaces-tunnel.xml.in @@ -192,15 +192,23 @@ <children> <leafNode name="encaplimit"> <properties> - <help>Encaplimit field</help> + <help>Set fixed encapsulation limit</help> + <completionHelp> + <list>none</list> + </completionHelp> <valueHelp> <format>0-255</format> <description>Encaplimit (default 4)</description> </valueHelp> + <valueHelp> + <format>none</format> + <description>Encaplimit disabled</description> + </valueHelp> <constraint> + <regex>^(none)$</regex> <validator name="numeric" argument="--range 0-255"/> </constraint> - <constraintErrorMessage>key must be between 0-255</constraintErrorMessage> + <constraintErrorMessage>Tunnel encaplimit must be 0-255 or none</constraintErrorMessage> </properties> <defaultValue>4</defaultValue> </leafNode> |