mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Enable the document for Socket::Ifaddr#ifindex.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
37659d8fc5
commit
d05010f6a4
1 changed files with 1 additions and 1 deletions
|
@ -128,6 +128,7 @@ ifaddr_name(VALUE self)
|
||||||
return rb_str_new_cstr(ifa->ifa_name);
|
return rb_str_new_cstr(ifa->ifa_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_IF_NAMETOINDEX
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* ifaddr.ifindex => integer
|
* ifaddr.ifindex => integer
|
||||||
|
@ -135,7 +136,6 @@ ifaddr_name(VALUE self)
|
||||||
* Returns the interface index of _ifaddr_.
|
* Returns the interface index of _ifaddr_.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_IF_NAMETOINDEX
|
|
||||||
static VALUE
|
static VALUE
|
||||||
ifaddr_ifindex(VALUE self)
|
ifaddr_ifindex(VALUE self)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue