luci-mod-network: change && to || for DHCP tab predicates
authorPaul Donald <[email protected]>
Fri, 24 Oct 2025 13:36:09 +0000 (15:36 +0200)
committerPaul Donald <[email protected]>
Fri, 24 Oct 2025 13:36:09 +0000 (15:36 +0200)
commit7e1b545bfa1d98a72d18c39528dade2b35421ed5
tree78a535befef985004b97baf78b7576c12dd59d23
parent545de2a4b5b9881104bb5b3bd82a1f1ccf6b6b8a
luci-mod-network: change && to || for DHCP tab predicates

Each prerequisite inside a { } forms an and condition.
Each {} prerequisite forms an or condition.

The tab wasn't displayed because odhcpd was not installed. The condition set
required both. Now only require one or the other to display the DHCP tab.

Closes #8033

Signed-off-by: Paul Donald <[email protected]>
modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json