From: akr@... Date: 2014-01-18T12:32:05+00:00 Subject: [ruby-core:59841] [ruby-trunk - Bug #9350] [Closed] Handle IP_MULTICAST_LOOP and IP_MULTICAST_TTL socket options correctly on OpenBSD Issue #9350 has been updated by Akira Tanaka. Status changed from Open to Closed % Done changed from 0 to 100 Applied in changeset r44638. ---------- * ext/socket/option.c: IP_MULTICAST_LOOP and IP_MULTICAST_TTL socket option takes a byte on OpenBSD. Fixed by Jeremy Evans. [ruby-core:59496] [Bug #9350] ---------------------------------------- Bug #9350: Handle IP_MULTICAST_LOOP and IP_MULTICAST_TTL socket options correctly on OpenBSD https://bugs.ruby-lang.org/issues/9350#change-44409 * Author: Jeremy Evans * Status: Closed * Priority: Normal * Assignee: * Category: * Target version: * ruby -v: ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-openbsd] * Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- OpenBSD is similar to NetBSD in that the IP_MULTICAST_LOOP and IP_MULTICAST_TTL socket options take unsigned char and not int arguments. So replace #ifdef __NetBSD__ with #if defined(__NetBSD__) || defined(__OpenBSD__) ---Files-------------------------------- patch-ext_socket_option_c (2.17 KB) -- http://bugs.ruby-lang.org/