luci-proto-ipip: add nohostroute configurable
authorMatthew Hagan <[email protected]>
Wed, 19 Jan 2022 23:09:00 +0000 (23:09 +0000)
committerMatthew Hagan <[email protected]>
Wed, 19 Jan 2022 23:09:00 +0000 (23:09 +0000)
Add configurable to explicitly disable creation of route to the peer
address.

Signed-off-by: Matthew Hagan <[email protected]>
protocols/luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js

index 3fae6b23dda1982e17530b3c755d8e40482ee7bf..44a0e20ac649a453dfefdcf68187cbc5cd84a261 100644 (file)
@@ -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;
        }
 });