summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static/resources/view
diff options
context:
space:
mode:
authorPaul Donald <newtwen+github@gmail.com>2024-11-28 19:30:01 +0100
committerPaul Donald <newtwen+github@gmail.com>2024-11-28 19:30:01 +0100
commitbbc4a909255c34630f7710aff636c519a12318bd (patch)
treecab8e925c7c67836bdb0fba8e603653dd599e4bf /modules/luci-mod-network/htdocs/luci-static/resources/view
parent22ea96b6d877e80a6ddbde237d7e2da1fdec2f81 (diff)
luci-mod-network: fix DHCP ip constraint (masks generate "bad address")
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources/view')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
index 16db7ed0ef..28d824a08e 100644
--- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
+++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
@@ -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 = {};