aboutsummaryrefslogtreecommitdiff
path: root/lwip/pfinet-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'lwip/pfinet-ops.c')
-rw-r--r--lwip/pfinet-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lwip/pfinet-ops.c b/lwip/pfinet-ops.c
index 5be85879..d5afb94f 100644
--- a/lwip/pfinet-ops.c
+++ b/lwip/pfinet-ops.c
@@ -50,7 +50,7 @@ dev_ifconf (struct ifconf *ifc)
ifr = ifc->ifc_req;
len = ifc->ifc_len;
saddr = (struct sockaddr_in *) &ifr->ifr_addr;
- for (netif = netif_list; netif != 0; netif = netif->next)
+ NETIF_FOREACH(netif)
{
if (ifc->ifc_req != 0)
{