Skip to content

Commit

Permalink
luci-base: static.js: fix validation of netmask option
Browse files Browse the repository at this point in the history
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
  • Loading branch information
jow- committed Feb 21, 2024
1 parent 317ed4a commit 06c0fbb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}),

Expand Down

0 comments on commit 06c0fbb

Please sign in to comment.