diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-09-22 12:42:54 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-09-22 12:42:54 +0200 |
commit | af4352c07ef33ebb06a0c7f684f3f753b9c23f4f (patch) | |
tree | 05ca4c607a5aded734c2c390690d87d58a8d2640 /libs/rpcd-mod-luci/src/luci.c | |
parent | 45a398e1ed86c9706d47ff46be73bdaa303ff661 (diff) |
rpcd-mod-luci: fix syntax error
Fixes: 45a398e1ed ("rpcd-mod-luci: avoid PTR requests for IPv6 link-local and ULA addrs")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'libs/rpcd-mod-luci/src/luci.c')
-rw-r--r-- | libs/rpcd-mod-luci/src/luci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/rpcd-mod-luci/src/luci.c b/libs/rpcd-mod-luci/src/luci.c index 53ffff4fd2..4022cec9ba 100644 --- a/libs/rpcd-mod-luci/src/luci.c +++ b/libs/rpcd-mod-luci/src/luci.c @@ -1726,7 +1726,7 @@ rpc_luci_get_host_hints_rrdns(struct reply_context *rctx) 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++; |