summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-22 11:40:29 +0100
committerChristian Breunig <christian@breunig.cc>2023-11-22 11:52:25 +0100
commitffd7339e2ea3eafdd97ac0763ca4a3913fe71bf3 (patch)
tree0e9a5ec2955b9a634f787811dd45349780c55d79 /interface-definitions
parent00a28fe512ccb56f4ca57d18c2613ac47242a66d (diff)
downloadvyos-1x-ffd7339e2ea3eafdd97ac0763ca4a3913fe71bf3.tar.gz
vyos-1x-ffd7339e2ea3eafdd97ac0763ca4a3913fe71bf3.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.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/interfaces-pppoe.xml.in3
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">