summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-tunnel.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-01-21 15:02:41 -0600
committerJohn Estabrook <jestabro@vyos.io>2021-01-21 17:59:37 -0600
commitea4c72ed0dbcee3f7e8f9693c5310190833651d8 (patch)
treea29771063cfb9cbbe5041493e22655b1df3f6a8b /src/conf_mode/interfaces-tunnel.py
parent891bb78c1222d7acdff14d56c6c5aad0139536f3 (diff)
downloadvyos-1x-ea4c72ed0dbcee3f7e8f9693c5310190833651d8.tar.gz
vyos-1x-ea4c72ed0dbcee3f7e8f9693c5310190833651d8.zip
xml: T3239: override default mtu values and remove workarounds
Diffstat (limited to 'src/conf_mode/interfaces-tunnel.py')
-rwxr-xr-xsrc/conf_mode/interfaces-tunnel.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/conf_mode/interfaces-tunnel.py b/src/conf_mode/interfaces-tunnel.py
index d2fcf3121..f03bc9d5d 100755
--- a/src/conf_mode/interfaces-tunnel.py
+++ b/src/conf_mode/interfaces-tunnel.py
@@ -57,12 +57,6 @@ def get_config(config=None):
base = ['interfaces', 'tunnel']
tunnel = get_interface_dict(conf, base)
- # Wireguard is "special" the default MTU is 1420 - update accordingly
- # as the config_level is already st in get_interface_dict() - we can use []
- tmp = conf.get_config_dict([], key_mangling=('-', '_'), get_first_key=True)
- if 'mtu' not in tmp:
- tunnel['mtu'] = '1476'
-
tmp = leaf_node_changed(conf, ['encapsulation'])
if tmp: tunnel.update({'encapsulation_changed': {}})