Project

General

Profile

Actions

Bug #9351

closed

Make Rinda::RingFinger work correctly on OpenBSD and NetBSD

Added by jeremyevans0 (Jeremy Evans) over 10 years ago. Updated about 10 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-openbsd]
[ruby-core:59497]

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

patch-lib_rinda_ring_rb (532 Bytes) patch-lib_rinda_ring_rb jeremyevans0 (Jeremy Evans), 01/03/2014 01:38 PM
Actions #1

Updated by drbrain (Eric Hodel) over 10 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
Actions #2

Updated by drbrain (Eric Hodel) over 10 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 10 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

Also available in: Atom PDF

Like0
Like0Like0Like0