summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-vxlan.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-07 20:59:17 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-07 20:59:17 +0100
commitdd35eb76153191bc487e3ea23c3e73c753ec1d4b (patch)
tree648eba6397782f15c6f7a19cddd2e9c9bca1357e /interface-definitions/interfaces-vxlan.xml.in
parent549251f5ae1bc40a475b68fa8e6183aafbe703d6 (diff)
downloadvyos-1x-dd35eb76153191bc487e3ea23c3e73c753ec1d4b.tar.gz
vyos-1x-dd35eb76153191bc487e3ea23c3e73c753ec1d4b.zip
vxlan: T3319: use default ttl of 16
VyOS 1.2 had a default ttl of 16 hardcoded to the node.def file [1], so until this is handled via a migration script we have to obey that particular setting. [1]: https://github.com/vyos/vyatta-cfg-system/blob/crux/templates/interfaces/vxlan/node.def#L23
Diffstat (limited to 'interface-definitions/interfaces-vxlan.xml.in')
-rw-r--r--interface-definitions/interfaces-vxlan.xml.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-vxlan.xml.in b/interface-definitions/interfaces-vxlan.xml.in
index d9d2d1033..97a40a9dc 100644
--- a/interface-definitions/interfaces-vxlan.xml.in
+++ b/interface-definitions/interfaces-vxlan.xml.in
@@ -55,6 +55,9 @@
#include <include/interface-parameters-dont-fragment.xml.i>
#include <include/interface-parameters-tos.xml.i>
#include <include/interface-parameters-ttl.xml.i>
+ <leafNode name="ttl">
+ <defaultValue>16</defaultValue>
+ </leafNode>
</children>
</node>
<node name="ipv6">