Skip to content

Commit 4963d39

Browse files
committed
Add description for Socket::Ifaddr#flags.
1 parent 4129973 commit 4963d39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/socket/ifaddr.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ ifaddr_ifindex(VALUE self)
177177
* ifaddr.flags => integer
178178
*
179179
* Returns the flags of _ifaddr_.
180+
*
181+
* The value is bitwise-or of Socket::IFF_* constants such as Socket::IFF_LOOPBACK.
180182
*/
181183

182184
static VALUE

0 commit comments

Comments
 (0)