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 | |
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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/socket/ifaddr.c | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Tue May 27 21:28:16 2014 NARUSE, Yui <naruse@ruby-lang.org> + + * ext/socket/ifaddr.c (ifaddr_inspect_flags): support IFF_SIMPLEX. + Tue May 27 21:03:03 2014 Kouhei Sutou <kou@cozmixng.org> * test/rexml/: Use REXMLTests as wrapping module for REXML tests. 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 |