]> git.ipfire.org Git - thirdparty/dhcp.git/commit
Fixed RT 938 having to do with SIOCGIFCONF on Linux. We now do a first
authorBen Cottrell <source@isc.org>
Sat, 17 Mar 2001 02:11:29 +0000 (02:11 +0000)
committerBen Cottrell <source@isc.org>
Sat, 17 Mar 2001 02:11:29 +0000 (02:11 +0000)
commitc73ced691dda3845206dc2f43f23cbaff8a6dce6
tree33dfba471cdc8eec7221738849e57bd3475ba684
parented5ee59141f1bf91bf5016a3b0def64b4f4a2520
Fixed RT 938 having to do with SIOCGIFCONF on Linux. We now do a first
pass in which we pass a null pointer for the buffer, and we will get
back the length of the buffer we should allocate. This is because
if you pass in a buffer that is too small, Linux (unlike other OSes)
will not tell you that it is too small by returning a length greater
than the length you passed in.
common/discover.c
includes/cf/linux.h