Skip Menu |
 

From: Tom Yu <tlyu@mit.edu>
To: krb5-bugs@mit.edu
Subject: use __APPLE_USE_RFC_3542 to get IPV6_PKTINFO on Mac OS X
Date: Wed, 20 Jan 2016 14:38:35 -0500
For some reason, Mac OS X has a <netinet.h> that doesn't define
IPV6_PKTINFO unless one of __APPLE_USE_RFC_2292 or __APPLE_USE_RFC_3542
is set. There is no default. We should #define __APPLE_USE_RFC_3542
before including <netinet.h> if we want to get IPV6_PKTINFO on Mac OS X.

This is with Xcode 7.2 on Mac OS 10.10.5.
From: ghudson@mit.edu
Subject: git commit

Make IPv6 pktinfo work on macOS

Define __APPLE_USE_RFC_3542 to expose the definition of IPV6_PKTINFO
on macOS.

https://github.com/krb5/krb5/commit/253e4459f4e4c9239e7a129bab4257f077d7bb94
Author: Greg Hudson <ghudson@mit.edu>
Commit: 253e4459f4e4c9239e7a129bab4257f077d7bb94
Branch: master
src/lib/apputils/udppktinfo.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)