summaryrefslogtreecommitdiff
path: root/interface-definitions/include/tunnel-parameters-ip.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-05 15:11:37 +0100
committerGitHub <noreply@github.com>2021-02-05 15:11:37 +0100
commitf55fe07dc1894e22eda522d65cb4b1364da16c38 (patch)
treed4e175be33f80ee0263b587d8091d9f19f018fc6 /interface-definitions/include/tunnel-parameters-ip.xml.i
parent80eca8649dffee54af247f973afe8d8eff8f7e98 (diff)
parent9b0a19303e449139ad168a981714f839281dbe66 (diff)
downloadvyos-1x-f55fe07dc1894e22eda522d65cb4b1364da16c38.tar.gz
vyos-1x-f55fe07dc1894e22eda522d65cb4b1364da16c38.zip
Merge pull request #721 from jack9603301/T3030
tunnel: T3030: Use the default TTL value of 0 to correspond to the PMTU option
Diffstat (limited to 'interface-definitions/include/tunnel-parameters-ip.xml.i')
-rw-r--r--interface-definitions/include/tunnel-parameters-ip.xml.i12
1 files changed, 8 insertions, 4 deletions
diff --git a/interface-definitions/include/tunnel-parameters-ip.xml.i b/interface-definitions/include/tunnel-parameters-ip.xml.i
index cbecb94a4..0a667d199 100644
--- a/interface-definitions/include/tunnel-parameters-ip.xml.i
+++ b/interface-definitions/include/tunnel-parameters-ip.xml.i
@@ -1,17 +1,21 @@
<!-- included start from tunnel-parameters-ip.xml.i -->
<leafNode name="ttl">
<properties>
- <help>Time to live field</help>
+ <help>Time to live (default: 0)</help>
<valueHelp>
- <format>0-255</format>
- <description>Time to live (default 255)</description>
+ <format>0</format>
+ <description>Copy value from original IP header</description>
+ </valueHelp>
+ <valueHelp>
+ <format>1-255</format>
+ <description>Time to Live</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 0-255"/>
</constraint>
<constraintErrorMessage>TTL must be between 0 and 255</constraintErrorMessage>
</properties>
- <defaultValue>255</defaultValue>
+ <defaultValue>0</defaultValue>
</leafNode>
<leafNode name="tos">
<properties>