From ac1f99047435253fa736ba7796f8a26551f60dce Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Mon, 22 Jun 2020 09:46:15 -0500 Subject: [PATCH] Remove AI_CANONNAME from rigctld.c Didn't work with simple "rigctld" and no -T https://github.com/Hamlib/Hamlib/issues/298 --- tests/rigctld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rigctld.c b/tests/rigctld.c index f6a6d0cb9..cc00e516c 100644 --- a/tests/rigctld.c +++ b/tests/rigctld.c @@ -685,7 +685,7 @@ int main(int argc, char *argv[]) memset(&hints, 0, sizeof(struct addrinfo)); hints.ai_family = AF_UNSPEC; /* Allow IPv4 or IPv6 */ hints.ai_socktype = SOCK_STREAM;/* TCP socket */ - hints.ai_flags = AI_PASSIVE | AI_CANONNAME; /* For wildcard IP address */ + hints.ai_flags = AI_PASSIVE; /* For wildcard IP address */ hints.ai_protocol = 0; /* Any protocol */ retcode = getaddrinfo(src_addr, portno, &hints, &result);