summaryrefslogtreecommitdiff
path: root/lib/libform
diff options
context:
space:
mode:
authoritojun <itojun@NetBSD.org>2004-11-16 06:04:12 +0000
committeritojun <itojun@NetBSD.org>2004-11-16 06:04:12 +0000
commitda88342476518edd75bab9ad18454eef9373ac91 (patch)
tree91d70a1db53baa8c3d63b6f5f77eeda7b119cc42 /lib/libform
parent384b8c15c268982a1cf65c6fe6f6c6e0a12f8674 (diff)
NI_WITHSCOPEID was not picked up by IETF standardization process
Diffstat (limited to 'lib/libform')
-rw-r--r--lib/libform/type_ipv6.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libform/type_ipv6.c b/lib/libform/type_ipv6.c
index 4ee7d386f27..e5fc94a2a17 100644
--- a/lib/libform/type_ipv6.c
+++ b/lib/libform/type_ipv6.c
@@ -1,4 +1,4 @@
-/* $NetBSD: type_ipv6.c,v 1.8 2003/07/26 19:24:57 salo Exp $ */
+/* $NetBSD: type_ipv6.c,v 1.9 2004/11/16 06:04:13 itojun Exp $ */
/*-
* Copyright (c) 1998-1999 Brett Lymn
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: type_ipv6.c,v 1.8 2003/07/26 19:24:57 salo Exp $");
+__RCSID("$NetBSD: type_ipv6.c,v 1.9 2004/11/16 06:04:13 itojun Exp $");
#include <sys/types.h>
#include <sys/socket.h>
@@ -55,11 +55,7 @@ ipv6_check_field(FIELD *field, char *args)
{
char cleaned[NI_MAXHOST];
struct addrinfo hints, *res;
-#ifdef NI_WITHSCOPEID /* KAME extension */
- const int niflags = NI_NUMERICHOST | NI_WITHSCOPEID;
-#else
const int niflags = NI_NUMERICHOST;
-#endif
if (args == NULL)
return FALSE;