mirror of https://github.com/openwrt/luci.git
Revert "luci-proto-ppp: pppoe.so has no MTU option; remove it"
This reverts commit 995d3a1801
.
The `mtu` option controls the pppd mru and mtu arguments, it is not
specific to pppoe.so.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
pull/7124/head
parent
b4d34010fe
commit
b57c6ff29e
|
@ -93,6 +93,8 @@ return network.registerProtocol('pppoe', {
|
|||
o.placeholder = '0';
|
||||
o.datatype = 'uinteger';
|
||||
|
||||
/* pppoe.so has no MTU option - only underlying device MTU is possible */
|
||||
o = s.taboption('advanced', form.Value, 'mtu', _('Override MTU'));
|
||||
o.placeholder = dev ? (dev.getMTU() || '1500') : '1500';
|
||||
o.datatype = 'max(9200)';
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue