← Commit list

a85b66e0f

Denys Vlasenko
Denys Vlasenko
2010-05-23
FAILED Duration: 34s

Subject

ifconfig: do not truncate interface names. closes bug 1795

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/interface.c+1 -2
@@ -1002,7 +1002,7 @@ static void ife_print(struct interface *ptr)
if (hw == NULL)
hw = get_hwntype(-1);
- printf("%-9.9s 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;
}