diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-27 12:29:19 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-27 12:29:19 +0000 |
commit | 313fa180333a1eb4d1fa1542930e83f8d77e6b2d (patch) | |
tree | 4f52230e0f12a375c2023e6b246e07e4b0d7bfaf /ext/socket | |
parent | c3ebc82832be35eceafdc929df915e3b46ed42f6 (diff) | |
download | ruby-313fa180333a1eb4d1fa1542930e83f8d77e6b2d.tar.gz |
* ext/socket/ifaddr.c (ifaddr_inspect_flags): support IFF_SIMPLEX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket')
-rw-r--r-- | ext/socket/ifaddr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/socket/ifaddr.c b/ext/socket/ifaddr.c index 4f0286c700..15395d7088 100644 --- a/ext/socket/ifaddr.c +++ b/ext/socket/ifaddr.c @@ -292,6 +292,9 @@ ifaddr_inspect_flags(ifa_flags_t flags, VALUE result) #ifdef IFF_ALLMULTI INSPECT_BIT(IFF_ALLMULTI, "ALLMULTI") #endif +#ifdef IFF_SIMPLEX + INSPECT_BIT(IFF_SIMPLEX, "SIMPLEX") +#endif #ifdef IFF_MASTER INSPECT_BIT(IFF_MASTER, "MASTER") #endif |