[Nut-upsdev] nut-2.4.2 : IPV6 badly managed at configure

Charles Lepple clepple at gmail.com
Sat Feb 20 14:38:28 UTC 2010


On Feb 20, 2010, at 6:46 AM, Jean Philippe EIMER wrote:

> I installed nut-2.4.2 from sources and IPV6 was disabled whereas
> configure detected it, preventing upsd to run properly on my ipv6
> enabled system.
>
> In fact, HAVE_IPV6 is never enabled in include/config.h.
>
> If I force
> #define HAVE_IPV6 1
> in config.h, everything is back to normal operation.

Jean Philippe,

Thanks for reporting this.

Arjen,

the NUT_CHECK_IPV6 macro sets "nut_have_ipv6", but then references  
"nut_with_ipv6" which is not assigned until after NUT_CHECK_IPV6 is  
called.



More information about the Nut-upsdev mailing list