luci-mod-network: dhcp.js: don't fail on not existing interface
authorJo-Philipp Wich <jo@mein.io>
Thu, 8 Jul 2021 16:55:47 +0000 (18:55 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 8 Jul 2021 16:56:23 +0000 (18:56 +0200)
commitf57d20bffffda026ab203d328a859a3f38c0c8d0
tree830078897ff93ff3dd471ebab6ed46e1a0c391fb
parenta6d957d6f59329cc16c838afe3c88c6072fad236
luci-mod-network: dhcp.js: don't fail on not existing interface

Fixes: #5177
Fixes: 7e56289538 ("luci-mod-network: improve static DHCP lease validation")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js