From fdaf51dfc905491f0729c78518d074c03c8fc013 Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 25 May 2004 13:55:48 +0000 Subject: [PATCH] we don't implement getipnode*(), so don't define their flags for now. It confuses some software (ntpd). --- include/netdb.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/netdb.h b/include/netdb.h index 3fe4e8c28611..6ec740dd1459 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -1,4 +1,4 @@ -/* $NetBSD: netdb.h,v 1.40 2004/05/24 12:34:28 yamt Exp $ */ +/* $NetBSD: netdb.h,v 1.41 2004/05/25 13:55:48 christos Exp $ */ /* * Copyright (c) 1980, 1983, 1988, 1993 @@ -257,6 +257,7 @@ struct addrinfo { #define AI_MASK \ (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST | AI_NUMERICSERV) +#ifdef notyet /* * Flag values for getipnodebyname() */ @@ -265,6 +266,7 @@ struct addrinfo { #define AI_ADDRCONFIG 0x00000020 #define AI_DEFAULT (AI_V4MAPPED|AI_ADDRCONFIG) #endif +#endif #if (_POSIX_C_SOURCE - 0) >= 200112L || (_XOPEN_SOURCE - 0) >= 520 || \ defined(_NETBSD_SOURCE)