From 6da284da4a3fc47d9934adf96ebb29ead9ef8993 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 9 Nov 2023 16:32:54 +0100 Subject: [PATCH] luci-mod-network: add missing `throw` route type Ref: https://forum.openwrt.org/t/x/177040 Signed-off-by: Jo-Philipp Wich (cherry picked from commit b423b4bbcf21d60fd32239699941249ed9c8b7aa) --- .../htdocs/luci-static/resources/view/network/routes.js | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2