mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 17:18:24 +00:00
update components & lwp. (#7888)
This commit is contained in:
@@ -1763,7 +1763,8 @@ netif_find(const char *name)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
num = (u8_t)atoi(&name[2]);
|
||||
/* Out netif's name is e0, e1... */
|
||||
num = (u8_t)atoi(&name[1]);
|
||||
|
||||
NETIF_FOREACH(netif) {
|
||||
if (num == netif->num &&
|
||||
|
||||
Reference in New Issue
Block a user