diff options
author | John Estabrook <jestabro@vyos.io> | 2021-01-21 15:02:41 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2021-01-21 17:59:37 -0600 |
commit | ea4c72ed0dbcee3f7e8f9693c5310190833651d8 (patch) | |
tree | a29771063cfb9cbbe5041493e22655b1df3f6a8b /src/conf_mode/interfaces-l2tpv3.py | |
parent | 891bb78c1222d7acdff14d56c6c5aad0139536f3 (diff) | |
download | vyos-1x-ea4c72ed0dbcee3f7e8f9693c5310190833651d8.tar.gz vyos-1x-ea4c72ed0dbcee3f7e8f9693c5310190833651d8.zip |
xml: T3239: override default mtu values and remove workarounds
Diffstat (limited to 'src/conf_mode/interfaces-l2tpv3.py')
-rwxr-xr-x | src/conf_mode/interfaces-l2tpv3.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/conf_mode/interfaces-l2tpv3.py b/src/conf_mode/interfaces-l2tpv3.py index 1118143e4..7b3afa058 100755 --- a/src/conf_mode/interfaces-l2tpv3.py +++ b/src/conf_mode/interfaces-l2tpv3.py @@ -47,12 +47,6 @@ def get_config(config=None): base = ['interfaces', 'l2tpv3'] l2tpv3 = get_interface_dict(conf, base) - # L2TPv3 is "special" the default MTU is 1488 - 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: - l2tpv3['mtu'] = '1488' - # To delete an l2tpv3 interface we need the current tunnel and session-id if 'deleted' in l2tpv3: tmp = leaf_node_changed(conf, ['tunnel-id']) |