use #ifdef CONFIG_* instead of #if CONFIG_*
[oweals/busybox.git] / libbb / interface.c
index 04abda39d1f8b0a7c706267ec023396756673bce..2f43192657c1d71153ce98b627de83e91a87d686 100644 (file)
@@ -15,7 +15,7 @@
  *              that either displays or sets the characteristics of
  *              one or more of the system's networking interfaces.
  *
- * Version:     $Id: interface.c,v 1.9 2002/08/22 19:35:36 bug1 Exp $
+ * Version:     $Id: interface.c,v 1.11 2002/11/26 09:02:04 bug1 Exp $
  *
  * Author:      Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
  *              and others.  Copyright 1993 MicroWalt Corporation
@@ -44,7 +44,6 @@
  * 
  */
 #define HAVE_AFINET 1
-#undef HAVE_AFINET6
 #undef HAVE_AFIPX
 #undef HAVE_AFATALK
 #undef HAVE_AFNETROM
 #undef HAVE_AFECONET
 #undef HAVE_AFASH
 
-#if CONFIG_FEATURE_IPV6
-#define HAVE_AFINET6 1
+#ifdef CONFIG_FEATURE_IPV6
+# define HAVE_AFINET6 1
+#else
+# undef HAVE_AFINET6
 #endif
 
 /* 
@@ -1739,7 +1740,7 @@ static void print_bytes_scaled(unsigned long long ull, const char *end)
                }
        }
 
-       printf("X bytes:%Lu (%Lu.%lu %sb)%s", ull, int_part, frac_part, ext, end);
+       printf("X bytes:%Lu (%Lu.%lu %siB)%s", ull, int_part, frac_part, ext, end);
 }
 
 static void ife_print(struct interface *ptr)