From 313fa180333a1eb4d1fa1542930e83f8d77e6b2d Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 27 May 2014 12:29:19 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ ext/socket/ifaddr.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 545bc85868..852b71a1c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue May 27 21:28:16 2014 NARUSE, Yui + + * ext/socket/ifaddr.c (ifaddr_inspect_flags): support IFF_SIMPLEX. + Tue May 27 21:03:03 2014 Kouhei Sutou * 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