mirror of https://git.openwrt.org/project/luci.git
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:
parent
d5c413d285
commit
995d3a1801
|
@ -93,8 +93,6 @@ return network.registerProtocol('pppoe', {
|
||||||
o.placeholder = '0';
|
o.placeholder = '0';
|
||||||
o.datatype = 'uinteger';
|
o.datatype = 'uinteger';
|
||||||
|
|
||||||
o = s.taboption('advanced', form.Value, 'mtu', _('Override MTU'));
|
/* pppoe.so has no MTU option - only underlying device MTU is possible */
|
||||||
o.placeholder = dev ? (dev.getMTU() || '1500') : '1500';
|
|
||||||
o.datatype = 'max(9200)';
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue