зеркало из https://github.com/github/ruby.git
* ext/socket/constants.c (cmsg_type_arg): INET6 check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
197747f7d6
Коммит
57d85f32f5
|
@ -1,3 +1,7 @@
|
|||
Mon Feb 2 14:22:56 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/socket/constants.c (cmsg_type_arg): INET6 check.
|
||||
|
||||
Mon Feb 2 14:18:20 2009 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/option.c: use INET6 instead of IPV6.
|
||||
|
|
|
@ -100,8 +100,10 @@ cmsg_type_arg(int level, VALUE optname)
|
|||
return constant_arg(optname, scm_optname_to_int, "unknown UNIX control message");
|
||||
case IPPROTO_IP:
|
||||
return constant_arg(optname, ip_optname_to_int, "unknown IP control message");
|
||||
#ifdef INET6
|
||||
case IPPROTO_IPV6:
|
||||
return constant_arg(optname, ipv6_optname_to_int, "unknown IPv6 control message");
|
||||
#endif
|
||||
case IPPROTO_TCP:
|
||||
return constant_arg(optname, tcp_optname_to_int, "unknown TCP control message");
|
||||
case IPPROTO_UDP:
|
||||
|
|
Загрузка…
Ссылка в новой задаче