From f62b36ee380be9bfe2d308d46e00a4f34c9f9f9f Mon Sep 17 00:00:00 2001 From: Matthew Hagan Date: Wed, 19 Jan 2022 23:04:37 +0000 Subject: luci-proto-ipip: explicitly set df to optional Signed-off-by: Matthew Hagan --- .../luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js') diff --git a/protocols/luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js b/protocols/luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js index 7423a08585..3fae6b23dd 100644 --- a/protocols/luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js +++ b/protocols/luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js @@ -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; } }); -- cgit v1.2.3