luci-app-firewall: further luci-rpc/getHostHints compatibility fixes
authorJo-Philipp Wich <jo@mein.io>
Thu, 3 Jun 2021 08:03:48 +0000 (10:03 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 3 Jun 2021 08:03:48 +0000 (10:03 +0200)
commitdc0cfc642e42eefcac91bb965f9aa612089fad5d
tree2dd2154c3eb395469c841f2612b44e0e1182624f
parentbc1015f7db57506b2468846f79dbd5bfe0dbea7a
luci-app-firewall: further luci-rpc/getHostHints compatibility fixes

Rework some further code instances to fall back to the legacy ipv4/ipv6
properties if needed.

Fixes: c7b7b42cd3 ("treewide: Update JS using luci-rpc getHostHints")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js