luci-mod-network: show "dhcpv4" option for dnsmasq
authorLiangbin Lian <redacted>
Tue, 23 Dec 2025 07:14:46 +0000 (15:14 +0800)
committerPaul Donald <redacted>
Tue, 23 Dec 2025 12:22:01 +0000 (13:22 +0100)
commit74d2192e83f842f6bc1058f16871d5dd1edae51b
treeab75ebdd1bdee0e0eef3eba4ab46eaab108d1b16
parent371f4415916d49035b2f3291746620a0f2c1dd39
luci-mod-network: show "dhcpv4" option for dnsmasq

For odhcpd, an empty "dhcpv4" is equivalent to "disabled",
but for dnsmasq, an empty "dhcpv4" is equivalent to "enabled",
so an empty "dhcpv4" is ambiguous.

Fixes https://github.com/openwrt/openwrt/issues/21220

Signed-off-by: Liangbin Lian <redacted>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js
git clone https://git.99rst.org/PROJECT