summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritojun <>2000-02-17 17:09:41 +0000
committeritojun <>2000-02-17 17:09:41 +0000
commitc18b79066bbe0d2f6f70a042e575d8ef87e5aab5 (patch)
tree458ad08bcc63c5adb3e33fe20751c8b698f3e97b
parent670f8b86a21e9943f06a44a02534f71133a96788 (diff)
downloadopenbsd-c18b79066bbe0d2f6f70a042e575d8ef87e5aab5.tar.gz
openbsd-c18b79066bbe0d2f6f70a042e575d8ef87e5aab5.tar.bz2
openbsd-c18b79066bbe0d2f6f70a042e575d8ef87e5aab5.zip
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.....
-rw-r--r--src/lib/libc/net/getaddrinfo.c4
-rw-r--r--src/lib/libc/net/getnameinfo.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/net/getaddrinfo.c b/src/lib/libc/net/getaddrinfo.c
index 378206e6ee..cebcc45c7b 100644
--- a/src/lib/libc/net/getaddrinfo.c
+++ b/src/lib/libc/net/getaddrinfo.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: getaddrinfo.c,v 1.12 2000/02/16 12:53:35 itojun Exp $ */ 1/* $OpenBSD: getaddrinfo.c,v 1.13 2000/02/17 17:09:40 itojun Exp $ */
2 2
3/* 3/*
4 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 4 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -752,7 +752,7 @@ explore_numeric_scope(pai, hostname, servname, res)
752 if (cp == NULL) 752 if (cp == NULL)
753 return explore_numeric(pai, hostname, servname, res); 753 return explore_numeric(pai, hostname, servname, res);
754 754
755#if 1 755#if 0
756 /* 756 /*
757 * Handle special case of <scope id><delimiter><scoped_address> 757 * Handle special case of <scope id><delimiter><scoped_address>
758 */ 758 */
diff --git a/src/lib/libc/net/getnameinfo.c b/src/lib/libc/net/getnameinfo.c
index 808182c6e6..3769e0fa3c 100644
--- a/src/lib/libc/net/getnameinfo.c
+++ b/src/lib/libc/net/getnameinfo.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: getnameinfo.c,v 1.9 2000/02/16 12:53:35 itojun Exp $ */ 1/* $OpenBSD: getnameinfo.c,v 1.10 2000/02/17 17:09:41 itojun Exp $ */
2 2
3/* 3/*
4 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 4 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -235,7 +235,7 @@ getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
235 if (scopelen + 1 + numaddrlen + 1 > hostlen) 235 if (scopelen + 1 + numaddrlen + 1 > hostlen)
236 return ENI_MEMORY; 236 return ENI_MEMORY;
237 237
238#if 1 238#if 0
239 /* 239 /*
240 * construct <scopeid><delim><numeric-addr> 240 * construct <scopeid><delim><numeric-addr>
241 */ 241 */