summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-02-17 17:09:42 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-02-17 17:09:42 +0000
commit073149273bf024bb8099028b5bbb5b880f7a3dfb (patch)
tree1b88b43f9157b7829ef0d11b44b5c85975d09fba /lib/libc
parent31617df01cf3d0ce7168e8267e08acbf66cb1228 (diff)
to synchronize with progress of discussion for post
draft-ietf-ipngwg-scopedaddr-format-00.txt (will be 01), use "address%interface" notation for extended scoped IPv6 address. NOTE: the change affects link-local addresses only. I hope it to be the final change on it.....
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/getaddrinfo.c4
-rw-r--r--lib/libc/net/getnameinfo.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/net/getaddrinfo.c b/lib/libc/net/getaddrinfo.c
index 378206e6ee6..cebcc45c7bc 100644
--- a/lib/libc/net/getaddrinfo.c
+++ b/lib/libc/net/getaddrinfo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getaddrinfo.c,v 1.12 2000/02/16 12:53:35 itojun Exp $ */
+/* $OpenBSD: getaddrinfo.c,v 1.13 2000/02/17 17:09:40 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -752,7 +752,7 @@ explore_numeric_scope(pai, hostname, servname, res)
if (cp == NULL)
return explore_numeric(pai, hostname, servname, res);
-#if 1
+#if 0
/*
* Handle special case of <scope id><delimiter><scoped_address>
*/
diff --git a/lib/libc/net/getnameinfo.c b/lib/libc/net/getnameinfo.c
index 808182c6e67..3769e0fa3c8 100644
--- a/lib/libc/net/getnameinfo.c
+++ b/lib/libc/net/getnameinfo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getnameinfo.c,v 1.9 2000/02/16 12:53:35 itojun Exp $ */
+/* $OpenBSD: getnameinfo.c,v 1.10 2000/02/17 17:09:41 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -235,7 +235,7 @@ getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
if (scopelen + 1 + numaddrlen + 1 > hostlen)
return ENI_MEMORY;
-#if 1
+#if 0
/*
* construct <scopeid><delim><numeric-addr>
*/