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:
parent
0ae09794e5
commit
470103861e
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue