Project

General

Profile

Actions

Backport #8517

closed

Enable IPV6_PKTINFO on OS X

Added by drbrain (Eric Hodel) almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
[ruby-core:55453]

Description

=begin
Recent versions of OS X hide (({IPV6_PKTINFO})) (and some other socket options) behind (({__APPLE_USE_RFC_3542})) (or (({__APPLE_USE_RFC_2292}))).

This patch defines (({__APPLE_USE_RFC_3542})) when building the socket extension as netinet6/in6.h says "Note that eventually RFC 3542 is going to be the default and RFC 2292 will be obsolete."

With this patch IPV6_PKTINFO appears in Socket::Constants

=end


Files

socket.apple_IPV6_PKTINFO.patch (443 Bytes) socket.apple_IPV6_PKTINFO.patch drbrain (Eric Hodel), 06/12/2013 11:25 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0