Fixes: 45a398e1ed ("rpcd-mod-luci: avoid PTR requests for IPv6 link-local and ULA addrs")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
avl_for_each_element(&hint->ip6addrs, addr, avl) {
if (!IN6_IS_ADDR_UNSPECIFIED(&addr->addr.in6) &&
!IN6_IS_ADDR_LINKLOCAL(&addr->addr.in6) &&
- !IN6_IS_ADDR_ULA(&addr>addr.in6)) {
+ !IN6_IS_ADDR_ULA(&addr->addr.in6)) {
inet_ntop(AF_INET6, &addr->addr.in6, buf, sizeof(buf));
blobmsg_add_string(&req, NULL, buf);
n++;