projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
599ae1e
)
ifconfig: do not truncate interface names. closes bug 1795
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 23 May 2010 21:04:15 +0000
(23:04 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 23 May 2010 21:04:15 +0000
(23:04 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/interface.c
patch
|
blob
|
history
diff --git
a/networking/interface.c
b/networking/interface.c
index a59f310a6abb9e7cef59aa15fc5f9aa87bda3501..659ac36ea651896ea5467323bd6aafc26fa8a4b2 100644
(file)
--- a/
networking/interface.c
+++ b/
networking/interface.c
@@
-1002,7
+1002,7
@@
static void ife_print(struct interface *ptr)
if (hw == NULL)
hw = get_hwntype(-1);
- printf("%-9
.9
s Link encap:%s ", ptr->name, hw->title);
+ printf("%-9s Link encap:%s ", ptr->name, hw->title);
/* For some hardware types (eg Ash, ATM) we don't print the
hardware address if it's null. */
if (hw->print != NULL
@@
-1178,7
+1178,6
@@
static int for_all_interfaces(int (*doit) (struct interface *, void *),
return -1;
for (ife = int_list; ife; ife = ife->next) {
int err = doit(ife, cookie);
-
if (err)
return err;
}