luci-mod-network: routes.js: enforce interface setting
Fixes: #6521 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
86f04d85fc
commit
a6a428fe60
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ return view.extend({
|
|||
o = s.taboption('general', widgets.NetworkSelect, 'interface', _('Interface'), _('Specifies the logical interface name of the parent (or master) interface this route belongs to'));
|
||||
o.loopback = true;
|
||||
o.nocreate = true;
|
||||
o.rmempty = false;
|
||||
|
||||
o = s.taboption('general', form.ListValue, 'type', _('Route type'), _('Specifies the route type to be created'));
|
||||
o.modalonly = true;
|
||||
|
|
Loading…
Reference in a new issue