summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-ppp/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorPaul Donald <newtwen+github@gmail.com>2024-04-16 17:41:30 +0200
committerPaul Donald <newtwen+github@gmail.com>2024-04-16 17:48:35 +0200
commit995d3a1801cf3b850e8c7c35937fbdd0526ff53e (patch)
tree92b246859cbf71d8cdbd4ba0f6bcf95813dbf838 /protocols/luci-proto-ppp/htdocs/luci-static/resources
parentd5c413d2853fde0d5cec98641606a0a30f93281c (diff)
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>
Diffstat (limited to 'protocols/luci-proto-ppp/htdocs/luci-static/resources')
-rw-r--r--protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/pppoe.js4
1 files changed, 1 insertions, 3 deletions
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 057e17fe81..b025a3eeb2 100644
--- 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 */
}
});