From 37253b569390bba9f395c8253ad275710281b8da Mon Sep 17 00:00:00 2001 From: Matthew Hagan Date: Wed, 19 Jan 2022 23:09:00 +0000 Subject: luci-proto-ipip: add nohostroute configurable Add configurable to explicitly disable creation of route to the peer address. Signed-off-by: Matthew Hagan --- .../luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'protocols/luci-proto-ipip/htdocs/luci-static') 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; } }); -- cgit v1.2.3