mirror of
https://github.com/openharmony/third_party_iptables.git
synced 2026-07-20 22:06:51 -04:00
small addition by kisza.
This commit is contained in:
committed by
Harald Welte
parent
30d920a7cf
commit
ed44b83a39
@@ -528,6 +528,7 @@ addr_to_host(const struct in6_addr *addr)
|
||||
|
||||
memset(&saddr, 0, sizeof(struct sockaddr_in6));
|
||||
in6addrcpy(&(saddr.sin6_addr),(struct in6_addr *)addr);
|
||||
saddr.sin6_family = AF_INET6;
|
||||
|
||||
if ( (err=getnameinfo((struct sockaddr *)&saddr,
|
||||
sizeof(struct sockaddr_in6),
|
||||
|
||||
Reference in New Issue
Block a user