summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-ipip
diff options
context:
space:
mode:
authorMatthew Hagan <mnhagan88@gmail.com>2022-01-19 23:09:00 +0000
committerMatthew Hagan <mnhagan88@gmail.com>2022-01-19 23:09:00 +0000
commit37253b569390bba9f395c8253ad275710281b8da (patch)
tree7c2fa2882c63a525b0ccff99c2cfbdcbd2fe56d7 /protocols/luci-proto-ipip
parentf62b36ee380be9bfe2d308d46e00a4f34c9f9f9f (diff)
luci-proto-ipip: add nohostroute configurable
Add configurable to explicitly disable creation of route to the peer address. Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
Diffstat (limited to 'protocols/luci-proto-ipip')
-rw-r--r--protocols/luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js3
1 files changed, 3 insertions, 0 deletions
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;
}
});