mirror of
https://github.com/openwrt/luci
synced 2025-01-09 04:28:37 +08:00
luci-mod-network: fix DHCP ip constraint (masks generate "bad address")
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
parent
22ea96b6d8
commit
bbc4a90925
@ -1039,7 +1039,7 @@ return view.extend({
|
||||
|
||||
so = ss.option(form.Value, 'ip', _('IP address'));
|
||||
so.rmempty = false;
|
||||
so.datatype = 'ipaddr';
|
||||
so.datatype = 'ipaddr("nomask")';
|
||||
|
||||
var ipaddrs = {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user