From: Bert Hubert <bert.hubert@netherlabs.nl>
Date: Sun, 7 Oct 2012 13:07:33 +0000 (+0000)
Subject: Justin Clift discovered OSX needs some help to support the new destination sensing... 
X-Git-Tag: auth-3.2-rc1~103
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f55e09a45b3c8ac72656a0c68dcb873aa171e47;p=pdns

Justin Clift discovered OSX needs some help to support the new destination sensing / source selection stuff for IPv6


git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2779 d19b8d6e-7fed-0310-83ef-9ca221ded41b
---

diff --git a/pdns/nameserver.cc b/pdns/nameserver.cc
index 60195b3f4..5d2ab0315 100644
--- a/pdns/nameserver.cc
+++ b/pdns/nameserver.cc
@@ -14,7 +14,7 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
-
+#define __APPLE_USE_RFC_3542  // makes OSX do source selection / destination querying
 #include "utility.hh"
 #include <cstdio>
 #include <cstring>