summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-10-07 19:50:42 +0200
committerGitHub <noreply@github.com>2023-10-07 19:50:42 +0200
commit7720ee247c03eeeab895da27804996571ffb476b (patch)
tree24212ec13751537430b99d63d283620cdc0acc73 /interface-definitions
parent669acb05c91aa90f28b9aee823b27c7a29afdec0 (diff)
parent713647429b981f35822e8b4c9fafe990d120643c (diff)
downloadvyos-1x-7720ee247c03eeeab895da27804996571ffb476b.tar.gz
vyos-1x-7720ee247c03eeeab895da27804996571ffb476b.zip
Merge pull request #2346 from vyos/mergify/bp/sagitta/pr-2335
pppoe: T5630: allow to specify MRU in addition to already configurable MTU (backport #2335)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/interfaces-pppoe.xml.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-pppoe.xml.in b/interface-definitions/interfaces-pppoe.xml.in
index b78f92c85..30fcb8573 100644
--- a/interface-definitions/interfaces-pppoe.xml.in
+++ b/interface-definitions/interfaces-pppoe.xml.in
@@ -109,6 +109,20 @@
<leafNode name="mtu">
<defaultValue>1492</defaultValue>
</leafNode>
+ <leafNode name="mru">
+ <properties>
+ <help>Maximum Receive Unit (MRU)</help>
+ <valueHelp>
+ <format>u32:128-16384</format>
+ <description>Maximum Receive Unit in byte</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 128-16384"/>
+ </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">
<properties>