aboutsummaryrefslogtreecommitdiff
path: root/libbb/interface.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
commitc7bda1ce659294d6e22c06e087f6f265983c7578 (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /libbb/interface.c
parent8854004b41065b3d081af7f3df13a100b0c8bfbe (diff)
downloadbusybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'libbb/interface.c')
-rw-r--r--libbb/interface.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/libbb/interface.c b/libbb/interface.c
index 28007f443..f44e866df 100644
--- a/libbb/interface.c
+++ b/libbb/interface.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * stolen from net-tools-1.59 and stripped down for busybox by 2 * stolen from net-tools-1.59 and stripped down for busybox by
3 * Erik Andersen <andersen@codepoet.org> 3 * Erik Andersen <andersen@codepoet.org>
4 * 4 *
5 * Heavily modified by Manuel Novoa III Mar 12, 2001 5 * Heavily modified by Manuel Novoa III Mar 12, 2001
@@ -15,7 +15,7 @@
15 * that either displays or sets the characteristics of 15 * that either displays or sets the characteristics of
16 * one or more of the system's networking interfaces. 16 * one or more of the system's networking interfaces.
17 * 17 *
18 * Version: $Id: interface.c,v 1.20 2003/08/29 11:34:08 bug1 Exp $ 18 * Version: $Id: interface.c,v 1.21 2004/03/15 08:28:42 andersen Exp $
19 * 19 *
20 * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> 20 * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
21 * and others. Copyright 1993 MicroWalt Corporation 21 * and others. Copyright 1993 MicroWalt Corporation
@@ -31,17 +31,17 @@
31 * 31 *
32 * {1.34} - 19980630 - Arnaldo Carvalho de Melo <acme@conectiva.com.br> 32 * {1.34} - 19980630 - Arnaldo Carvalho de Melo <acme@conectiva.com.br>
33 * - gettext instead of catgets for i18n 33 * - gettext instead of catgets for i18n
34 * 10/1998 - Andi Kleen. Use interface list primitives. 34 * 10/1998 - Andi Kleen. Use interface list primitives.
35 * 20001008 - Bernd Eckenfels, Patch from RH for setting mtu 35 * 20001008 - Bernd Eckenfels, Patch from RH for setting mtu
36 * (default AF was wrong) 36 * (default AF was wrong)
37 */ 37 */
38 38
39/* #define KEEP_UNUSED */ 39/* #define KEEP_UNUSED */
40 40
41/* 41/*
42 * 42 *
43 * Protocol Families. 43 * Protocol Families.
44 * 44 *
45 */ 45 */
46#define HAVE_AFINET 1 46#define HAVE_AFINET 1
47#undef HAVE_AFIPX 47#undef HAVE_AFIPX
@@ -51,10 +51,10 @@
51#undef HAVE_AFECONET 51#undef HAVE_AFECONET
52#undef HAVE_AFASH 52#undef HAVE_AFASH
53 53
54/* 54/*
55 * 55 *
56 * Device Hardware types. 56 * Device Hardware types.
57 * 57 *
58 */ 58 */
59#define HAVE_HWETHER 1 59#define HAVE_HWETHER 1
60#define HAVE_HWPPP 1 60#define HAVE_HWPPP 1
@@ -1822,7 +1822,7 @@ static void ife_print(struct interface *ptr)
1822 hw = get_hwntype(-1); 1822 hw = get_hwntype(-1);
1823 1823
1824 printf(_("%-9.9s Link encap:%s "), ptr->name, _(hw->title)); 1824 printf(_("%-9.9s Link encap:%s "), ptr->name, _(hw->title));
1825 /* For some hardware types (eg Ash, ATM) we don't print the 1825 /* For some hardware types (eg Ash, ATM) we don't print the
1826 hardware address if it's null. */ 1826 hardware address if it's null. */
1827 if (hw->print != NULL && (!(hw_null_address(hw, ptr->hwaddr) && 1827 if (hw->print != NULL && (!(hw_null_address(hw, ptr->hwaddr) &&
1828 hw->suppress_null_addr))) 1828 hw->suppress_null_addr)))
@@ -2011,7 +2011,7 @@ static void ife_print(struct interface *ptr)
2011 printf(" "); 2011 printf(" ");
2012 if (ptr->map.irq) 2012 if (ptr->map.irq)
2013 printf(_("Interrupt:%d "), ptr->map.irq); 2013 printf(_("Interrupt:%d "), ptr->map.irq);
2014 if (ptr->map.base_addr >= 0x100) /* Only print devices using it for 2014 if (ptr->map.base_addr >= 0x100) /* Only print devices using it for
2015 I/O maps */ 2015 I/O maps */
2016 printf(_("Base address:0x%lx "), 2016 printf(_("Base address:0x%lx "),
2017 (unsigned long) ptr->map.base_addr); 2017 (unsigned long) ptr->map.base_addr);