mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-07 09:15:06 -05:00
Return 0 from DNS_IPAddress2Name when name was truncated
This commit is contained in:
@@ -39,7 +39,7 @@ extern void DNS_SetAddressFamily(int family);
|
||||
|
||||
extern int DNS_Name2IPAddress(const char *name, IPAddr *addr, int retry);
|
||||
|
||||
extern void DNS_IPAddress2Name(IPAddr *ip_addr, char *name, int len);
|
||||
extern int DNS_IPAddress2Name(IPAddr *ip_addr, char *name, int len);
|
||||
|
||||
#endif /* GOT_NAMESERV_H */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user