diff options
-rw-r--r-- | libbb/interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/interface.c b/libbb/interface.c index 46c3ba96c..47358fe0d 100644 --- a/libbb/interface.c +++ b/libbb/interface.c | |||
@@ -15,7 +15,7 @@ | |||
15 | * that either displays or sets the characteristics of | 15 | * that either displays or sets the characteristics of |
16 | * one or more of the system's networking interfaces. | 16 | * one or more of the system's networking interfaces. |
17 | * | 17 | * |
18 | * Version: $Id: interface.c,v 1.17 2003/07/22 08:56:46 andersen Exp $ | 18 | * Version: $Id: interface.c,v 1.18 2003/07/28 06:35:32 andersen Exp $ |
19 | * | 19 | * |
20 | * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> | 20 | * Author: Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> |
21 | * and others. Copyright 1993 MicroWalt Corporation | 21 | * and others. Copyright 1993 MicroWalt Corporation |
@@ -1134,7 +1134,7 @@ static int if_readlist_proc(char *target) | |||
1134 | 1134 | ||
1135 | err = 0; | 1135 | err = 0; |
1136 | while (fgets(buf, sizeof buf, fh)) { | 1136 | while (fgets(buf, sizeof buf, fh)) { |
1137 | char *s, name[IFNAMSIZ]; | 1137 | char *s, name[128]; |
1138 | 1138 | ||
1139 | s = get_name(name, buf); | 1139 | s = get_name(name, buf); |
1140 | ife = add_interface(name); | 1140 | ife = add_interface(name); |