From ea4c72ed0dbcee3f7e8f9693c5310190833651d8 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Thu, 21 Jan 2021 15:02:41 -0600 Subject: xml: T3239: override default mtu values and remove workarounds --- src/conf_mode/interfaces-pppoe.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/conf_mode/interfaces-pppoe.py') diff --git a/src/conf_mode/interfaces-pppoe.py b/src/conf_mode/interfaces-pppoe.py index c31e49574..f49792a7a 100755 --- a/src/conf_mode/interfaces-pppoe.py +++ b/src/conf_mode/interfaces-pppoe.py @@ -43,12 +43,6 @@ def get_config(config=None): base = ['interfaces', 'pppoe'] pppoe = get_interface_dict(conf, base) - # PPPoE is "special" the default MTU is 1492 - 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: - pppoe['mtu'] = '1492' - return pppoe def verify(pppoe): -- cgit v1.2.3