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>
This commit is contained in:
Matthew Hagan 2022-01-19 23:09:00 +00:00
parent f62b36ee38
commit 37253b5693

View 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;
}
});