Project

General

Profile

Actions

Bug #9350

closed

Handle IP_MULTICAST_LOOP and IP_MULTICAST_TTL socket options correctly on OpenBSD

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

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

Description

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) patch-ext_socket_option_c jeremyevans0 (Jeremy Evans), 01/03/2014 01:32 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0