luci-mod-network: repair DHCP relay validation logic
authorPaul Donald <newtwen@gmail.com>
Wed, 24 Jan 2024 23:42:38 +0000 (00:42 +0100)
committerPaul Donald <newtwen@gmail.com>
Thu, 25 Jan 2024 00:09:11 +0000 (01:09 +0100)
commit754b36d05ac26e1ddc68d8726e01faa38f9fe948
treed2d772d3481b726fe35c4351286f18ea8241247b
parent9889d3f73524c5ef814ab37e5c9fac81f213046d
luci-mod-network: repair DHCP relay validation logic

change && to || so as not to backtrace if only one was empty/null.

Signed-off-by: Paul Donald <newtwen@gmail.com>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js