summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2023-11-09 16:32:54 +0100
committerJo-Philipp Wich <jo@mein.io>2023-11-09 16:32:54 +0100
commitb423b4bbcf21d60fd32239699941249ed9c8b7aa (patch)
tree3f5f4da377f43e9f4cadfe0df6534d22f67531e0 /modules/luci-mod-network/htdocs/luci-static
parent2ddfd5d395d5105f86a342d68b36ad42ba1ff5fe (diff)
luci-mod-network: add missing `throw` route type
Ref: https://forum.openwrt.org/t/x/177040 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js1
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 2e987dfb32..6a08428457 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
@@ -53,6 +53,7 @@ return view.extend({
o.value('prohibit');
o.value('blackhole');
o.value('anycast');
+ o.value('throw');
o = s.taboption('general', form.Value, 'target', _('Target'), _('Network address'));
o.rmempty = false;