From: "drbrain (Eric Hodel)" Date: 2014-01-04T08:22:47+09:00 Subject: [ruby-core:59540] [ruby-trunk - Bug #9351][Assigned] Make Rinda::RingFinger work correctly on OpenBSD and NetBSD Issue #9351 has been updated by drbrain (Eric Hodel). Category set to lib Status changed from Open to Assigned Assignee set to seki (Masatoshi Seki) Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN to 1.9.3: DONTNEED, 2.0.0: DONTNEED, 2.1: REQUIRED ---------------------------------------- Bug #9351: Make Rinda::RingFinger work correctly on OpenBSD and NetBSD https://bugs.ruby-lang.org/issues/9351#change-44076 Author: jeremyevans0 (Jeremy Evans) Status: Assigned Priority: Normal Assignee: seki (Masatoshi Seki) Category: lib Target version: ruby -v: ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-openbsd] Backport: 1.9.3: DONTNEED, 2.0.0: DONTNEED, 2.1: REQUIRED The current Rinda::RingFinger code assumes that the IP_MULTICAST_LOOP socket option takes int, but in NetBSD and OpenBSD it takes unsigned char. Switch to using Socket::Option.ipv4_multicast_loop for better portability. To get this to work correctly on OpenBSD, the patch in #9350 is required. -- http://bugs.ruby-lang.org/