]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Don't try to determine SIOCGIFCONF buffer size prior to Linux 2.2.
authorTed Lemon <source@isc.org>
Thu, 5 Apr 2001 06:12:28 +0000 (06:12 +0000)
committerTed Lemon <source@isc.org>
Thu, 5 Apr 2001 06:12:28 +0000 (06:12 +0000)
includes/cf/linux.h

index bdc0de6af75bfcaecb83da70ee2fa2d579841c69..b353bbf4d069a9a07e09f2a2712bac6e90da2ad2 100644 (file)
@@ -124,6 +124,7 @@ extern int h_errno;
 #  if defined (USE_DEFAULT_NETWORK)
 #   define USE_LPF
 #  endif
+#  define SIOCGIFCONF_NULL_BUF_GIVES_CORRECT_LEN
 #  define LINUX_SLASHPROC_DISCOVERY
 #  define PROCDEV_DEVICE "/proc/net/dev"
 #  define HAVE_ARPHRD_TUNNEL
@@ -151,7 +152,6 @@ extern int h_errno;
 
 #define ALIAS_NAMES_PERMUTED
 #define SKIP_DUMMY_INTERFACES
-#define SIOCGIFCONF_NULL_BUF_GIVES_CORRECT_LEN
 
 #ifdef NEED_PRAND_CONF
 #ifndef HAVE_DEV_RANDOM