From 97210c717d3740450a6d6cf892efc881e25d90dd Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Mon, 17 Apr 2017 14:42:12 +0300 Subject: Enabled IPV6_RECVPKTINFO / IPV6_PKTINFO on macOS. This change allows setting the destination IPv6 address of a UDP datagram received on a wildcard socket. --- src/os/unix/ngx_darwin_config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/os') diff --git a/src/os/unix/ngx_darwin_config.h b/src/os/unix/ngx_darwin_config.h index cfe3ce223..0dfe63374 100644 --- a/src/os/unix/ngx_darwin_config.h +++ b/src/os/unix/ngx_darwin_config.h @@ -9,6 +9,9 @@ #define _NGX_DARWIN_CONFIG_H_INCLUDED_ +#define __APPLE_USE_RFC_3542 /* IPV6_PKTINFO */ + + #include #include #include -- cgit