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.

_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to