1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

add comment.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-02-24 13:19:04 +00:00
parent 0ae09794e5
commit 470103861e

View file

@ -1424,6 +1424,7 @@ sockaddr_obj(struct sockaddr *addr)
len = sizeof(struct sockaddr_in6);
# ifdef __KAME__
/* KAME uses the 2nd 16bit word of link local IPv6 address as interface index internally */
/* http://orange.kame.net/dev/cvsweb.cgi/kame/IMPLEMENTATION */
/* convert fe80:1::1 to fe80::1%1 */
memcpy(&addr6, addr, len);
addr = (struct sockaddr *)&addr6;