Actions
Bug #9351
closedMake Rinda::RingFinger work correctly on OpenBSD and NetBSD
Description
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.
Files
Updated by drbrain (Eric Hodel) about 11 years ago
- 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
Updated by drbrain (Eric Hodel) about 11 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r44492.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- lib/rinda/ring.rb (Rinda::RingFinger#make_socket): Use
ipv4_multicast_loop option for portability. Patch by Jeremy Evans.
[ruby-trunk - Bug #9351]
Updated by naruse (Yui NARUSE) about 11 years ago
- Backport changed from 1.9.3: DONTNEED, 2.0.0: DONTNEED, 2.1: REQUIRED to 1.9.3: DONTNEED, 2.0.0: DONTNEED, 2.1: DONE
Actions
Like0
Like0Like0Like0