mirror of
https://github.com/openwrt/luci.git
synced 2026-02-04 12:06:01 +08:00
luci-mod-network: allow literal "auto" value for distance
Fixes: #4050
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 01d5d5f929)
This commit is contained in:
committed by
Paul Spooren
parent
15249724cf
commit
79af8973e0
@@ -886,7 +886,7 @@ return view.extend({
|
||||
o.default = o.enabled;
|
||||
|
||||
o = ss.taboption('advanced', form.Value, 'distance', _('Distance Optimization'), _('Distance to farthest network member in meters.'));
|
||||
o.datatype = 'range(0,114750)';
|
||||
o.datatype = 'or(range(0,114750),"auto")';
|
||||
o.placeholder = 'auto';
|
||||
|
||||
o = ss.taboption('advanced', form.Value, 'frag', _('Fragmentation Threshold'));
|
||||
|
||||
Reference in New Issue
Block a user