Merge pull request #5650 from clayface/ipip-nohostroute

luci-proto-ipip: add nohostroute configurable
This commit is contained in:
Florian Eckert 2022-01-20 09:16:19 +01:00 committed by GitHub
commit a6b8a37bbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,6 +64,10 @@ return network.registerProtocol('ipip', {
o.optional = true;
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;
}
});