mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 17:04:35 +04:00
Revert "luci-proto-ppp: pppoe.so has no MTU option; remove it"
This reverts commit995d3a1801. 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> (cherry picked from commitb57c6ff29e)
This commit is contained in:
committed by
Paul Donald
parent
6846febd64
commit
e7a8d091f7
@@ -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)';
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user