git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
d5c413d
)
luci-proto-ppp: pppoe.so has no MTU option; remove it
author
Paul Donald
<redacted>
Tue, 16 Apr 2024 15:41:30 +0000
(17:41 +0200)
committer
Paul Donald
<redacted>
Tue, 16 Apr 2024 15:48:35 +0000
(17:48 +0200)
Retain comment so nobody is tempted to resurrect it.
Signed-off-by: Paul Donald <redacted>
protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js
patch
|
blob
|
history
diff --git
a/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js
b/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js
index 057e17fe81b1906c1e0c2a3d8b5cc460fbde03b0..b025a3eeb2f67f27e963c1c3b32a8aa74caa811b 100644
(file)
--- a/
protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js
+++ b/
protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js
@@
-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 */
}
});
git clone https://git.99rst.org/PROJECT