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

* ext/socket/option.c: use INET6 instead of IPV6.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-02-02 05:18:55 +00:00
parent bf23d53b94
commit b41a9abb6a
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Mon Feb 2 14:18:20 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/option.c: use INET6 instead of IPV6.
Mon Feb 2 12:47:47 2009 NAKAMURA Usaku <usa@ruby-lang.org> Mon Feb 2 12:47:47 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/socket/{options,raddrinfo}.c: use INET6 instead of AF_INET6 for * ext/socket/{options,raddrinfo}.c: use INET6 instead of AF_INET6 for

View file

@ -21,7 +21,7 @@ optname_to_sym(int level, int optname)
return constant_to_sym(optname, intern_so_optname); return constant_to_sym(optname, intern_so_optname);
case IPPROTO_IP: case IPPROTO_IP:
return constant_to_sym(optname, intern_ip_optname); return constant_to_sym(optname, intern_ip_optname);
#ifdef IPV6 #ifdef INET6
case IPPROTO_IPV6: case IPPROTO_IPV6:
return constant_to_sym(optname, intern_ipv6_optname); return constant_to_sym(optname, intern_ipv6_optname);
#endif #endif