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

Also available in: Atom PDF

Like0
Like0Like0Like0