From ae61022f52e5414bbb596e945914ce5c88bb1ed9 Mon Sep 17 00:00:00 2001 From: phessler <> Date: Tue, 9 Jun 2009 18:15:08 +0000 Subject: Update to handle the default resolv order behavior. Add a note that the regress depends on the "family" keyword in resolv.conf OK millert@, deraadt@ --- src/regress/lib/libc/getaddrinfo/gaitest.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/regress/lib/libc/getaddrinfo/gaitest.c') diff --git a/src/regress/lib/libc/getaddrinfo/gaitest.c b/src/regress/lib/libc/getaddrinfo/gaitest.c index 059c1aaa1a..12a4498459 100644 --- a/src/regress/lib/libc/getaddrinfo/gaitest.c +++ b/src/regress/lib/libc/getaddrinfo/gaitest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gaitest.c,v 1.5 2004/06/21 21:56:19 itojun Exp $ */ +/* $OpenBSD: gaitest.c,v 1.6 2009/06/09 18:15:08 phessler Exp $ */ /* $NetBSD: gaitest.c,v 1.3 2002/07/05 15:47:43 itojun Exp $ */ /* @@ -30,6 +30,13 @@ * SUCH DAMAGE. */ +/* + * Please note: the order of the responses (and the regress test) + * is dependent on the "family" keywords in resolv.conf. + * + * This expects the default behaviour of "family inet4 inet6" + */ + #include #include #include -- cgit v1.2.3-55-g6feb