ruby-changes:10405
From: usa <ko1@a...>
Date: Mon, 2 Feb 2009 14:23:38 +0900 (JST)
Subject: [ruby-changes:10405] Ruby:r21949 (trunk): * ext/socket/constants.c (cmsg_type_arg): INET6 check.
usa 2009-02-02 14:23:23 +0900 (Mon, 02 Feb 2009) New Revision: 21949 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21949 Log: * ext/socket/constants.c (cmsg_type_arg): INET6 check. Modified files: trunk/ChangeLog trunk/ext/socket/constants.c Index: ChangeLog =================================================================== --- ChangeLog (revision 21948) +++ ChangeLog (revision 21949) @@ -1,3 +1,7 @@ +Mon Feb 2 14:22:56 2009 NAKAMURA Usaku <usa@r...> + + * ext/socket/constants.c (cmsg_type_arg): INET6 check. + Mon Feb 2 14:18:20 2009 Tanaka Akira <akr@f...> * ext/socket/option.c: use INET6 instead of IPV6. Index: ext/socket/constants.c =================================================================== --- ext/socket/constants.c (revision 21948) +++ ext/socket/constants.c (revision 21949) @@ -100,8 +100,10 @@ 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: -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/