Re: net_get_interfaces()
| From: | Florian Anderiasch | Date: | Mon, 27 Nov 2017 17:30:33 +0000 |
| Subject: | Re: net_get_interfaces() | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101167@lists.php.net to get a copy of this message | ||
On 27.11.2017 17:56, Sara Golemon wrote:
> On Mon, Nov 27, 2017 at 11:38 AM, Florian Anderiasch <ml@anderiasch.de> wrote:
>> Somehow it doesn't match the
>> +#if HAVE_NET_IF_H
>> in net.c
>>
>> I had to unconditionally include it (for testing), otherwise
>> IFF_BROADCAST and IFF_POINTOPOINT are undefined. (they are in
>> sys/net/if.h on OpenBSD, but I only tested 6.2).
>>
> Can you send or gist your config.log? (Optionally redacted to the
> net/if.h check if you want to do that yourself)
>
> Are you saying you simply removed the
#if HAVE_NET_IF_H check?
> Or
> that you did that *AND* changed the include directive to `#include
> <sys/net/if.h>` ?
>
>> Can do a proper bug report if needed, but maybe I get around to test
>> NetBSD as well.
>>
> Thanks!
>
Filed as https://bugs.php.net/bug.php?id=75582 -
let's move the
discussion over there, sorry for the noise.
Greetings,
Florian