[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/40092: cfengine 2.2.8 botches SIOCGIFCONF parsing on current (and 5.0)
>Synopsis: cfengine 2.2.8 botches SIOCGIFCONF parsing on current (and 5.0)
>Arrival-Date: Wed Dec 03 05:50:00 +0000 2008
>Originator: john heasley
>Release: NetBSD 5.99
System: NetBSD 5.99
cfengine has trouble finding interfaces due to the way it computes the
size of ifreq entries from SIOCGIFCONF. It bases its method for the
computation on "HAVE_STRUCT_SOCKADDR_SA_LEN" and "ifdef _SIZEOF_ADDR_IFREQ".
Comments in net/if.c suggest that the computation is simply sizeof(ifreq)
(added in rev 1.199 ~200709) and the code seems to agree. However, alan
barrett's recent comments indicated that wasn't true.
Either way, its changed. not sure what autoconf magic to use to determine
which method ...
Main Index |
Thread Index |