luci-proto-ppp: pppoe.so has no MTU option; remove it

Retain comment so nobody is tempted to resurrect it.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
Paul Donald 2024-04-16 17:41:30 +02:00
parent d5c413d285
commit 995d3a1801
1 changed files with 1 additions and 3 deletions

View File

@ -93,8 +93,6 @@ return network.registerProtocol('pppoe', {
o.placeholder = '0';
o.datatype = 'uinteger';
o = s.taboption('advanced', form.Value, 'mtu', _('Override MTU'));
o.placeholder = dev ? (dev.getMTU() || '1500') : '1500';
o.datatype = 'max(9200)';
/* pppoe.so has no MTU option - only underlying device MTU is possible */
}
});