mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix Luci OMR ByPass
This commit is contained in:
parent
5b14298f47
commit
5bfdf1648e
1 changed files with 30 additions and 9 deletions
|
@ -27,11 +27,14 @@ return L.view.extend({
|
||||||
s.addremove = true;
|
s.addremove = true;
|
||||||
s.anonymous = true;
|
s.anonymous = true;
|
||||||
|
|
||||||
o = s.option(form.Value, 'domain', _('Domain'));
|
o = s.option(form.Value, 'name', _('Domain'));
|
||||||
o.rmempty = false;
|
o.rmempty = false;
|
||||||
|
|
||||||
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'));
|
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'));
|
||||||
o.rmempty = false;
|
o.noaliases = true;
|
||||||
|
o.noinactive = true;
|
||||||
|
o.nocreate = true;
|
||||||
|
o.ucioption = 'dev';
|
||||||
|
|
||||||
o = s.option(form.Value, 'note', _('Note'));
|
o = s.option(form.Value, 'note', _('Note'));
|
||||||
o.rmempty = true;
|
o.rmempty = true;
|
||||||
|
@ -43,8 +46,11 @@ return L.view.extend({
|
||||||
o = s.option(form.Value, 'ip', _('IP'));
|
o = s.option(form.Value, 'ip', _('IP'));
|
||||||
o.rmempty = false;
|
o.rmempty = false;
|
||||||
|
|
||||||
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'));
|
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'),_('When none selected, MPTCP master interface is used.'));
|
||||||
o.rmempty = false;
|
o.noaliases = true;
|
||||||
|
o.noinactive = true;
|
||||||
|
o.nocreate = true;
|
||||||
|
o.ucioption = 'dev';
|
||||||
|
|
||||||
o = s.option(form.Value, 'note', _('Note'));
|
o = s.option(form.Value, 'note', _('Note'));
|
||||||
o.rmempty = true;
|
o.rmempty = true;
|
||||||
|
@ -65,7 +71,10 @@ return L.view.extend({
|
||||||
o.value('udp');
|
o.value('udp');
|
||||||
|
|
||||||
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'));
|
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'));
|
||||||
o.rmempty = false;
|
o.noaliases = true;
|
||||||
|
o.noinactive = true;
|
||||||
|
o.nocreate = true;
|
||||||
|
o.ucioption = 'dev';
|
||||||
|
|
||||||
o = s.option(form.Value, 'note', _('Note'));
|
o = s.option(form.Value, 'note', _('Note'));
|
||||||
o.rmempty = true;
|
o.rmempty = true;
|
||||||
|
@ -83,7 +92,10 @@ return L.view.extend({
|
||||||
});
|
});
|
||||||
|
|
||||||
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'));
|
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'));
|
||||||
o.rmempty = false;
|
o.noaliases = true;
|
||||||
|
o.noinactive = true;
|
||||||
|
o.nocreate = true;
|
||||||
|
o.ucioption = 'dev';
|
||||||
|
|
||||||
o = s.option(form.Value, 'note', _('Note'));
|
o = s.option(form.Value, 'note', _('Note'));
|
||||||
o.rmempty = true;
|
o.rmempty = true;
|
||||||
|
@ -103,7 +115,10 @@ return L.view.extend({
|
||||||
});
|
});
|
||||||
|
|
||||||
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'));
|
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'));
|
||||||
o.rmempty = false;
|
o.noaliases = true;
|
||||||
|
o.noinactive = true;
|
||||||
|
o.nocreate = true;
|
||||||
|
o.ucioption = 'dev';
|
||||||
|
|
||||||
o = s.option(form.Value, 'note', _('Note'));
|
o = s.option(form.Value, 'note', _('Note'));
|
||||||
o.rmempty = true;
|
o.rmempty = true;
|
||||||
|
@ -116,7 +131,10 @@ return L.view.extend({
|
||||||
o.rmempty = false;
|
o.rmempty = false;
|
||||||
|
|
||||||
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'));
|
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'));
|
||||||
o.rmempty = false;
|
o.noaliases = true;
|
||||||
|
o.noinactive = true;
|
||||||
|
o.nocreate = true;
|
||||||
|
o.ucioption = 'dev';
|
||||||
|
|
||||||
o = s.option(form.Value, 'note', _('Note'));
|
o = s.option(form.Value, 'note', _('Note'));
|
||||||
o.rmempty = true;
|
o.rmempty = true;
|
||||||
|
@ -154,7 +172,10 @@ return L.view.extend({
|
||||||
};
|
};
|
||||||
|
|
||||||
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'));
|
o = s.option(widgets.DeviceSelect, 'interface', _('Interface'));
|
||||||
o.rmempty = false;
|
o.noaliases = true;
|
||||||
|
o.noinactive = true;
|
||||||
|
o.nocreate = true;
|
||||||
|
o.ucioption = 'dev';
|
||||||
|
|
||||||
o = s.option(form.Value, 'note', _('Note'));
|
o = s.option(form.Value, 'note', _('Note'));
|
||||||
o.rmempty = true;
|
o.rmempty = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue