luci-mod-network: add missing `throw` route type
authorJo-Philipp Wich <jo@mein.io>
Thu, 9 Nov 2023 15:32:54 +0000 (16:32 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 9 Nov 2023 15:32:54 +0000 (16:32 +0100)
Ref: https://forum.openwrt.org/t/x/177040
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js

index 2e987dfb32946ecc2faf2b36be9c2e9dcba80ea5..6a08428457794417cb89d7ea87d1eec0f7a44880 100644 (file)
@@ -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;