diff options
author | John Estabrook <jestabro@vyos.io> | 2021-01-21 15:02:41 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2021-02-03 11:50:32 -0600 |
commit | e336cfe1d4c68e94b1ba759f5bb5dd6907a6c6b8 (patch) | |
tree | 37e3072757bcc708f729445ab4f0d60b70a1d346 /src/conf_mode/interfaces-tunnel.py | |
parent | d38fdaa3a91b168316fc1c668491774b942b8848 (diff) | |
download | vyos-1x-e336cfe1d4c68e94b1ba759f5bb5dd6907a6c6b8.tar.gz vyos-1x-e336cfe1d4c68e94b1ba759f5bb5dd6907a6c6b8.zip |
xml: T3239: override default mtu values and remove workarounds
(cherry picked from commit ea4c72ed0dbcee3f7e8f9693c5310190833651d8)
Diffstat (limited to 'src/conf_mode/interfaces-tunnel.py')
-rwxr-xr-x | src/conf_mode/interfaces-tunnel.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/conf_mode/interfaces-tunnel.py b/src/conf_mode/interfaces-tunnel.py index ffeb57784..be56761cf 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': {}}) |