diff options
author | Christian Breunig <christian@breunig.cc> | 2023-11-22 11:40:29 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-11-22 12:23:58 +0000 |
commit | 2dd0aa94e080e3138e11969b10b76329063b31ce (patch) | |
tree | d8b4061aefa260708fed0b1eaaca29f7b5e1e217 /interface-definitions | |
parent | b1ef7ba3e5f66d446cd83609b25e05ab47f92060 (diff) | |
download | vyos-1x-2dd0aa94e080e3138e11969b10b76329063b31ce.tar.gz vyos-1x-2dd0aa94e080e3138e11969b10b76329063b31ce.zip |
pppoe: T5630: make MRU default to MTU if unspecified
This fixes the implementation in e062a8c11 ("pppoe: T5630: allow to specify MRU
in addition to already configurable MTU") and restores the bahavior that MRU
defaults to MTU if MRU is not explicitly set.
This was the behavior in VyOS 1.3.3 and below before we added ability to define
the MRU value.
(cherry picked from commit ffd7339e2ea3eafdd97ac0763ca4a3913fe71bf3)
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/interfaces-pppoe.xml.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/interface-definitions/interfaces-pppoe.xml.in b/interface-definitions/interfaces-pppoe.xml.in index 30fcb8573..4542b8b01 100644 --- a/interface-definitions/interfaces-pppoe.xml.in +++ b/interface-definitions/interfaces-pppoe.xml.in @@ -111,7 +111,7 @@ </leafNode> <leafNode name="mru"> <properties> - <help>Maximum Receive Unit (MRU)</help> + <help>Maximum Receive Unit (MRU) (default: MTU value)</help> <valueHelp> <format>u32:128-16384</format> <description>Maximum Receive Unit in byte</description> @@ -121,7 +121,6 @@ </constraint> <constraintErrorMessage>MRU must be between 128 and 16384</constraintErrorMessage> </properties> - <defaultValue>1492</defaultValue> </leafNode> #include <include/interface/no-peer-dns.xml.i> <leafNode name="remote-address"> |