fixed debian bug#109370 (empty line if baseaddr < 0x100 in ifconfig).
authorBernd Eckenfels <net-tools@lina.inka.de>
Sat, 24 Nov 2001 05:23:35 +0000 (05:23 +0000)
committerBernd Eckenfels <net-tools@lina.inka.de>
Sat, 24 Nov 2001 05:23:35 +0000 (05:23 +0000)
Patch by Jonathan Amery <jdamery@pick.ucam.org>

lib/interface.c

index 72fc45e..eee992b 100644 (file)
@@ -7,7 +7,7 @@
    8/2000  Andi Kleen make the list operations a bit more efficient.
    People are crazy enough to use thousands of aliases now.
 
-   $Id: interface.c,v 1.19 2001/11/12 01:36:48 ecki Exp $
+   $Id: interface.c,v 1.20 2001/11/24 05:23:35 ecki Exp $
  */
 
 #include "config.h"
@@ -895,7 +895,7 @@ void ife_print_long(struct interface *ptr)
     }
 
     if ((ptr->map.irq || ptr->map.mem_start || ptr->map.dma ||
-        ptr->map.base_addr)) {
+        ptr->map.base_addr >= 0x100)) {
        printf("          ");
        if (ptr->map.irq)
            printf(_("Interrupt:%d "), ptr->map.irq);