summaryrefslogtreecommitdiff
path: root/interface-definitions/include/tunnel-parameters-ip.xml.i
diff options
context:
space:
mode:
authorjack9603301 <jack9603301@163.com>2021-02-05 18:58:26 +0800
committerjack9603301 <jack9603301@163.com>2021-02-05 21:17:18 +0800
commit9b0a19303e449139ad168a981714f839281dbe66 (patch)
treed4e175be33f80ee0263b587d8091d9f19f018fc6 /interface-definitions/include/tunnel-parameters-ip.xml.i
parent80eca8649dffee54af247f973afe8d8eff8f7e98 (diff)
downloadvyos-1x-9b0a19303e449139ad168a981714f839281dbe66.tar.gz
vyos-1x-9b0a19303e449139ad168a981714f839281dbe66.zip
tunnel: T3030: Use the default TTL value of 0 to correspond to the PMTU option
Before 94f886ab ("tunnel: T3173: path MTU discov..."), TTL used the default value of 255, so c7d08654 ("tunnel: T3030: Modify the comm...") used the default value of 255. Later, due to the introduction of the PMTU option, the default value was changed to 0. Continuing to use the default value of 255 will cause the smoke test to fail, Therefore, the new definition of TTL is migrated
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>