mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Commit miss in previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c2cc750dd7
commit
654e94e1c9
1 changed files with 1 additions and 1 deletions
|
@ -5176,8 +5176,8 @@ addrinfo_ipv4_p(VALUE self)
|
|||
static VALUE
|
||||
addrinfo_ipv6_p(VALUE self)
|
||||
{
|
||||
rb_addrinfo_t *rai = get_addrinfo(self);
|
||||
#ifdef AF_INET6
|
||||
rb_addrinfo_t *rai = get_addrinfo(self);
|
||||
return ai_get_afamily(rai) == AF_INET6 ? Qtrue : Qfalse;
|
||||
#else
|
||||
return Qfalse;
|
||||
|
|
Loading…
Reference in a new issue