]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
SIOCGIFCONF API doesn't work properly on sparc.
authorTed Lemon <source@isc.org>
Tue, 1 May 2001 23:12:34 +0000 (23:12 +0000)
committerTed Lemon <source@isc.org>
Tue, 1 May 2001 23:12:34 +0000 (23:12 +0000)
includes/cf/linux.h

index 0d1e7a4e563e014c7dec03482fd5ac242a69cc67..7ce3e4c7cac1092c40e59c4924f294a297fee65c 100644 (file)
@@ -124,7 +124,9 @@ extern int h_errno;
 #  if defined (USE_DEFAULT_NETWORK)
 #   define USE_LPF
 #  endif
-#  define SIOCGIFCONF_NULL_BUF_GIVES_CORRECT_LEN
+#  if !defined (__sparc__)     /* XXX hopefully this will be fixed someday */
+#   define SIOCGIFCONF_NULL_BUF_GIVES_CORRECT_LEN
+#  endif
 #  define LINUX_SLASHPROC_DISCOVERY
 #  define PROCDEV_DEVICE "/proc/net/dev"
 #  define HAVE_ARPHRD_TUNNEL