diff options
-rw-r--r-- | networking/interface.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/interface.c b/networking/interface.c index a59f310a6..659ac36ea 100644 --- a/networking/interface.c +++ b/networking/interface.c | |||
@@ -1002,7 +1002,7 @@ static void ife_print(struct interface *ptr) | |||
1002 | if (hw == NULL) | 1002 | if (hw == NULL) |
1003 | hw = get_hwntype(-1); | 1003 | hw = get_hwntype(-1); |
1004 | 1004 | ||
1005 | printf("%-9.9s Link encap:%s ", ptr->name, hw->title); | 1005 | printf("%-9s Link encap:%s ", ptr->name, hw->title); |
1006 | /* For some hardware types (eg Ash, ATM) we don't print the | 1006 | /* For some hardware types (eg Ash, ATM) we don't print the |
1007 | hardware address if it's null. */ | 1007 | hardware address if it's null. */ |
1008 | if (hw->print != NULL | 1008 | if (hw->print != NULL |
@@ -1178,7 +1178,6 @@ static int for_all_interfaces(int (*doit) (struct interface *, void *), | |||
1178 | return -1; | 1178 | return -1; |
1179 | for (ife = int_list; ife; ife = ife->next) { | 1179 | for (ife = int_list; ife; ife = ife->next) { |
1180 | int err = doit(ife, cookie); | 1180 | int err = doit(ife, cookie); |
1181 | |||
1182 | if (err) | 1181 | if (err) |
1183 | return err; | 1182 | return err; |
1184 | } | 1183 | } |