Skip to content

Commit

Permalink
luci-mod-network: fix DHCP ip constraint (masks generate "bad address")
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Donald <[email protected]>
  • Loading branch information
systemcrash committed Nov 28, 2024
1 parent 22ea96b commit bbc4a90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {};

Expand Down

0 comments on commit bbc4a90

Please sign in to comment.