From: Matthew Hagan Date: Wed, 19 Jan 2022 23:04:37 +0000 (+0000) Subject: luci-proto-ipip: explicitly set df to optional X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=f62b36ee380be9bfe2d308d46e00a4f34c9f9f9f;p=project%2Fluci.git luci-proto-ipip: explicitly set df to optional Signed-off-by: Matthew Hagan --- 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; } });