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:
parent
f62b36ee38
commit
37253b5693
1 changed files with 3 additions and 0 deletions
|
@ -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 = s.taboption('advanced', form.Flag, 'df', _("Don't Fragment"), _("Enable the DF (Don't Fragment) flag of the encapsulating packets."));
|
||||||
o.optional = true;
|
o.optional = true;
|
||||||
|
|
||||||
|
o = s.taboption('advanced', form.Flag, 'nohostroute', _("No host route"), _("Do not create host route to peer (optional)."));
|
||||||
|
o.optional = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue