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:27:50 +0000 (01:27 +0100)
commit51c817cde61b0e7b96cb5761a82e34d6265827cf
tree7ee83fcdf3ae077e1dc978f8a01e3af840933aca
parenta67891441f2a4e638c33a77c7b427f5710d150f8
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>
(cherry picked from commit 754b36d05ac26e1ddc68d8726e01faa38f9fe948)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js