luci-base: static.js: fix validation of netmask option
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
317ed4a043
commit
06c0fbbef7
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}),
|
||||
|
||||
|
|
Loading…
Reference in a new issue