diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-19 18:14:13 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-21 15:26:35 +0200 |
commit | b7bfcb6ef0e712bb8c39241051e716a833b2ffe8 (patch) | |
tree | 6bc7ae43df3fd7e20976dad68cf98a856b236cab /python/vyos/ifconfig/pppoe.py | |
parent | 6bd780887c0e13dc9272ec499ebc6f01cfaf7ea6 (diff) | |
download | vyos-1x-b7bfcb6ef0e712bb8c39241051e716a833b2ffe8.tar.gz vyos-1x-b7bfcb6ef0e712bb8c39241051e716a833b2ffe8.zip |
interfaces: T3090: migrate adjust-mss from "firewall options" to "interface" level
Getting rid of "set firewall options" and move it from:
set firewall options interface ethX adjust-mss 1400
set firewall options interface ethX adjust-mss6 1400
to:
set interfaces ethernet ethX ip adjust-mss 1400
set interfaces ethernet ethX ipv6 adjust-mss 1400
In addition add an extra option called clamp-mss-to-pmtu instead of a value.
Diffstat (limited to 'python/vyos/ifconfig/pppoe.py')
-rw-r--r-- | python/vyos/ifconfig/pppoe.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/python/vyos/ifconfig/pppoe.py b/python/vyos/ifconfig/pppoe.py index 65575cf99..6acf7d1c7 100644 --- a/python/vyos/ifconfig/pppoe.py +++ b/python/vyos/ifconfig/pppoe.py @@ -17,9 +17,7 @@ from vyos.ifconfig.interface import Interface @Interface.register class PPPoEIf(Interface): - default = { - 'type': 'pppoe', - } + iftype = 'pppoe' definition = { **Interface.definition, **{ |