1 diff -Naurp net-tools-1.60-ifconfig-new/lib/interface.c net-tools-1.60-ifconfig/lib/interface.c
2 --- net-tools-1.60-ifconfig-new/lib/interface.c 2006-03-23 07:02:48.000000000 +0100
3 +++ net-tools-1.60-ifconfig/lib/interface.c 2006-03-23 09:58:45.000000000 +0100
4 @@ -203,6 +203,7 @@ out:
6 static char *get_name(char **namep, char *p)
11 char *name = *namep = p;
12 @@ -211,8 +212,13 @@ static char *get_name(char **namep, char
13 if (*p == ':') { /* could be an alias */
14 char *dot = p, *dotname = name;
18 + while (isdigit(*p)){
21 + if (count == (IFNAMSIZ-1))
24 if (*p != ':') { /* it wasn't, backup */
27 @@ -223,6 +229,9 @@ static char *get_name(char **namep, char
32 + if (count == (IFNAMSIZ-1))