Merge pull request #5650 from clayface/ipip-nohostroute
luci-proto-ipip: add nohostroute configurable
This commit is contained in:
commit
a6b8a37bbd
1 changed files with 5 additions and 1 deletions
|
@ -64,6 +64,10 @@ return network.registerProtocol('ipip', {
|
||||||
o.optional = true;
|
o.optional = true;
|
||||||
o.datatype = 'range(0, 255)';
|
o.datatype = 'range(0, 255)';
|
||||||
|
|
||||||
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 = 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