aboutsummaryrefslogtreecommitdiff
path: root/lwip/port/netif/hurdtunif.c
diff options
context:
space:
mode:
Diffstat (limited to 'lwip/port/netif/hurdtunif.c')
-rw-r--r--lwip/port/netif/hurdtunif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lwip/port/netif/hurdtunif.c b/lwip/port/netif/hurdtunif.c
index da4d5cbe..456dd297 100644
--- a/lwip/port/netif/hurdtunif.c
+++ b/lwip/port/netif/hurdtunif.c
@@ -296,7 +296,7 @@ check_open_hook (struct trivfs_control *cntl, struct iouser *user, int flags)
struct netif *netif;
struct hurdtunif *tunif;
- for (netif = netif_list; netif; netif = netif->next)
+ NETIF_FOREACH(netif)
{
tunif = (struct hurdtunif *) netif_get_state (netif);
if (tunif->cntl == cntl)