mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 17:55:07 -05:00
Fix sign v zero extension error in handling IP address
I switch to the git version of chrony. Accidently this version did not talk to by lokal server at 192.168.192.4. Instead it continuosly tried 255.255.192.4 :-( . Tracked that down to "char", "unsigned char" issue in nameserv.c:
This commit is contained in:
committed by
Richard P. Curnow
parent
084efe606f
commit
215d988286
@@ -39,7 +39,7 @@ unsigned long
|
||||
DNS_Name2IPAddress(const char *name)
|
||||
{
|
||||
struct hostent *host;
|
||||
char *address0;
|
||||
unsigned char *address0;
|
||||
unsigned long result;
|
||||
|
||||
host = gethostbyname(name);
|
||||
|
||||
Reference in New Issue
Block a user