rpcd-mod-luci: let IPv4 hostnames take precedence over IPv6 ones
authorJo-Philipp Wich <jo@mein.io>
Wed, 22 Sep 2021 07:41:12 +0000 (09:41 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 22 Sep 2021 07:56:09 +0000 (09:56 +0200)
commit93bd93e220714276eff95ea51793bb2f826328e8
tree19079a7e6f632425ed6abf06432ece8c23c3cb55
parente120ff41d4a20ab1a8d0761e5423e62d2aaff40e
rpcd-mod-luci: let IPv4 hostnames take precedence over IPv6 ones

Do not overwrite IPv4-resolved hostnames with IPv6 ones in case both are
available or resolvable.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libs/rpcd-mod-luci/src/luci.c