Skip to content

Commit

Permalink
luci-proto-ppp: pppoe.so has no MTU option; remove it
Browse files Browse the repository at this point in the history
Retain comment so nobody is tempted to resurrect it.

Signed-off-by: Paul Donald <[email protected]>
  • Loading branch information
systemcrash committed Apr 16, 2024
1 parent d5c413d commit 995d3a1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
}
});

0 comments on commit 995d3a1

Please sign in to comment.