luci-proto-ipip: explicitly set df to optional

Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
This commit is contained in:
Matthew Hagan 2022-01-19 23:04:37 +00:00
parent 8752701b0d
commit f62b36ee38

View File

@ -64,6 +64,7 @@ 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;
}
});