From: Matthew Hagan Date: Wed, 19 Jan 2022 23:09:00 +0000 (+0000) Subject: luci-proto-ipip: add nohostroute configurable X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=37253b569390bba9f395c8253ad275710281b8da;p=openwrt-luci.git luci-proto-ipip: add nohostroute configurable Add configurable to explicitly disable creation of route to the peer address. Signed-off-by: Matthew Hagan --- diff --git a/protocols/luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js b/protocols/luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js index 3fae6b23dd..44a0e20ac6 100644 --- a/protocols/luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js +++ b/protocols/luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js @@ -66,5 +66,8 @@ return network.registerProtocol('ipip', { o = s.taboption('advanced', form.Flag, 'df', _("Don't Fragment"), _("Enable the DF (Don't Fragment) flag of the encapsulating packets.")); o.optional = true; + + o = s.taboption('advanced', form.Flag, 'nohostroute', _("No host route"), _("Do not create host route to peer (optional).")); + o.optional = true; } });