diff options
author | Daniil Baturin <daniil@vyos.io> | 2023-10-07 18:13:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-07 18:13:41 +0100 |
commit | 0d975350d0a953ef7dc311c165335f7f2977e107 (patch) | |
tree | 980b5cdd88e185dbd4303495caf6fdda3fa82e6a /interface-definitions/interfaces-pppoe.xml.in | |
parent | f1eac571f22af7779ef7264425e0cc51d1aaae11 (diff) | |
parent | e357258e645cf85de0035d4ecfbf99db4dd90f7e (diff) | |
download | vyos-1x-0d975350d0a953ef7dc311c165335f7f2977e107.tar.gz vyos-1x-0d975350d0a953ef7dc311c165335f7f2977e107.zip |
Merge pull request #2335 from c-po/t5630-pppoe-mru
pppoe: T5630: allow to specify MRU in addition to already configurable MTU
Diffstat (limited to 'interface-definitions/interfaces-pppoe.xml.in')
-rw-r--r-- | interface-definitions/interfaces-pppoe.xml.in | 14 |
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> |