mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Annotate that we ignore the return value of if_indextoname.
This commit is contained in:
parent
8ad4c9f92a
commit
9d700e1f85
2 changed files with 4 additions and 1 deletions
|
|
@ -1,3 +1,6 @@
|
|||
28 January 2022: Wouter
|
||||
- Annotate that we ignore the return value of if_indextoname.
|
||||
|
||||
26 January 2022: George
|
||||
- Merge PR #408 from fobser: Prevent a few more yacc clashes.
|
||||
- Merge PR #275 from Roland van Rijswijk-Deij: Add feature to return the
|
||||
|
|
|
|||
|
|
@ -1456,7 +1456,7 @@ resolve_ifa_name(struct ifaddrs *ifas, const char *search_ifa, char ***ip_addres
|
|||
log_err("inet_ntop failed");
|
||||
return 0;
|
||||
}
|
||||
if_indextoname(in6->sin6_scope_id,
|
||||
(void)if_indextoname(in6->sin6_scope_id,
|
||||
(char *)if_index_name);
|
||||
if (strlen(if_index_name) != 0) {
|
||||
snprintf(addr_buf, sizeof(addr_buf),
|
||||
|
|
|
|||
Loading…
Reference in a new issue