summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/htdocs/luci-static/resources/protocol
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2024-02-21 15:38:37 +0100
committerJo-Philipp Wich <jo@mein.io>2024-02-21 15:38:37 +0100
commit06c0fbbef736c7d4976614467064d094af8ccf85 (patch)
tree9f3d5f5e48505dac0a6d26e4827505657e96e3a3 /modules/luci-base/htdocs/luci-static/resources/protocol
parent317ed4a0432b3f57c0cf76e633c180b171b7aae1 (diff)
luci-base: static.js: fix validation of netmask option
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/htdocs/luci-static/resources/protocol')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/protocol/static.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/protocol/static.js b/modules/luci-base/htdocs/luci-static/resources/protocol/static.js
index 42ebcefba4..03a720cd1e 100644
--- a/modules/luci-base/htdocs/luci-static/resources/protocol/static.js
+++ b/modules/luci-base/htdocs/luci-static/resources/protocol/static.js
@@ -126,6 +126,7 @@ return network.registerProtocol('static', {
return form.Value.prototype.render.apply(this, [ option_index, section_id, in_table ]);
},
+ datatype: 'ip4addr("true")',
validate: validateBroadcast
}),