X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fresolve.c;h=afbef5b375122711763fe91bb80f56c1a929c8db;hp=109d8b6c5491aaa69a3a0f8352b7fbdc3d872c8a;hb=d777ce6600825208cca21b97fd3ab55385de3424;hpb=5ccdb26885ff5216b068ccd3ba169aa3cbbb6a73 diff --git a/src/ngircd/resolve.c b/src/ngircd/resolve.c index 109d8b6c..afbef5b3 100644 --- a/src/ngircd/resolve.c +++ b/src/ngircd/resolve.c @@ -245,9 +245,6 @@ ForwardLookup(const char *hostname, array *IpAddr, UNUSED int af) struct addrinfo *a, *ai_results; static struct addrinfo hints; -#ifdef AI_ADDRCONFIG /* glibc has this, but not e.g. netbsd 4.0 */ - hints.ai_flags = AI_ADDRCONFIG; -#endif hints.ai_socktype = SOCK_STREAM; hints.ai_protocol = IPPROTO_TCP; hints.ai_family = af;