summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js
diff options
context:
space:
mode:
authorMatthew Hagan <mnhagan88@gmail.com>2022-01-19 23:04:37 +0000
committerMatthew Hagan <mnhagan88@gmail.com>2022-01-19 23:04:37 +0000
commitf62b36ee380be9bfe2d308d46e00a4f34c9f9f9f (patch)
treed71de50b1e12f67cd3c0a3f6fb5bd36adfe3baf0 /protocols/luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js
parent8752701b0d01a81d0bd0a735be733f24ad11ab69 (diff)
luci-proto-ipip: explicitly set df to optional
Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
Diffstat (limited to 'protocols/luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js')
-rw-r--r--protocols/luci-proto-ipip/htdocs/luci-static/resources/protocol/ipip.js3
1 files changed, 2 insertions, 1 deletions
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;
}
});