diff options
author | Jo-Philipp Wich <jo@mein.io> | 2023-08-21 10:09:34 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2023-08-21 10:09:34 +0200 |
commit | a6a428fe60b6fd306bef6d0559bc1d78372b0e56 (patch) | |
tree | 16ede8ef1ae9b6477c624388bd7e5867ccffddad /modules/luci-mod-network/htdocs/luci-static/resources | |
parent | 86f04d85fc774db9cb7e60a34a50f936d8d7be23 (diff) |
luci-mod-network: routes.js: enforce interface setting
Fixes: #6521
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js index da1330aec8..2e987dfb32 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js @@ -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; |