You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
348 B
16 lines
348 B
2 months ago
|
diff --git a/lib/interface.c.old b/lib/interface.c
|
||
|
index 998830a..d35329f 100644
|
||
|
--- a/lib/interface.c.old
|
||
|
+++ b/lib/interface.c
|
||
|
@@ -249,7 +249,10 @@ static const char *get_name(char **namep, const char *p)
|
||
|
*name++ = *p++;
|
||
|
count++;
|
||
|
if (count == (IFNAMSIZ-1))
|
||
|
+ {
|
||
|
+ p++;
|
||
|
break;
|
||
|
+ }
|
||
|
}
|
||
|
*name++ = '\0';
|
||
|
return p;
|