weakforced
weakforced copied to clipboard
make IPV6_PKTINFO available on osx
Commit 948216e7fc9552a6374693aea3f7454bdbec8bf1 makes sure we only try to use IPV6_PKTINFO when it is available, fixing compilation on OSX. However, that file was taken from PowerDNS which compiles fine on OSX without the ifdefs! It turns out one of the compiler flags that the pdns configure sets, makes the define available. We should port that part of configure to weakforced and dnsdist. We should also port the ifdefs to pdns.