aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBernd Eckenfels <net-tools@lina.inka.de>2001-11-24 05:23:35 +0000
committerBernd Eckenfels <net-tools@lina.inka.de>2001-11-24 05:23:35 +0000
commit2aea5d6ed418147743dc48eb08e1732147ead1dd (patch)
tree0a4827ff6f009db44ea2bed4f3464694e4b97979 /lib
parentadded EUI64 Hardware Address Family (diff)
downloadnet-tools-2aea5d6ed418147743dc48eb08e1732147ead1dd.tar.gz
net-tools-2aea5d6ed418147743dc48eb08e1732147ead1dd.tar.bz2
net-tools-2aea5d6ed418147743dc48eb08e1732147ead1dd.zip
fixed debian bug#109370 (empty line if baseaddr < 0x100 in ifconfig).
Patch by Jonathan Amery <jdamery@pick.ucam.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/interface.c b/lib/interface.c
index 72fc45e..eee992b 100644
--- a/lib/interface.c
+++ b/lib/interface.c
@@ -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);