🎉 Sync 2026-10-24 00:22:39

This commit is contained in:
github-actions[bot] committed 2026-10-24 00:22:39 +08:00
1 parent 6fa3534628
commit c3de2c6cdf
97 files changed
+7985 -3245

No files matched your search

@@ -392,7 +392,9 @@ return L.view.extend({
o.rmempty = false;
o = s.option(form.Value, "multipath_weight", _("Weight"), _("Only used by *weight schedulers/path managers. Ignored if no weight scheduler is selected.") + '<br />' + _("A weight >100 make it more attractive, a weight <100 make it less attractive. Max 256"));
o.datatype = "uinteger";
// 1 to 256, as "ip route" takes it: the schedulers read 0 as no weight
// (neutral 100) and add the weight to a signed counter
o.datatype = "and(uinteger,range(1,256))";
// 100 shown as a placeholder, not a default: with a default every Save
// of this page wrote multipath_weight='100' on each interface that had
// none. Unset means 100 for every reader (omr-weight-sync, mqvpn).
@@ -178,7 +178,9 @@ return L.view.extend({
o = s.option(form.Value, 'multipath_weight', _('Weight'),
_('A weight >100 makes a WAN more attractive, a weight <100 makes it less attractive. Max 256.'));
o.datatype = 'uinteger';
// 1 to 256, as "ip route" takes it: the schedulers read 0 as no
// weight (neutral 100) and add the weight to a signed counter
o.datatype = 'and(uinteger,range(1,256))';
// a placeholder, not a default: a default made every Save write
// multipath_weight='100' on each WAN that had none (unset is 100)
o.placeholder = '100';