diff options
author | Zhaoming Luo <zhmingluo@163.com> | 2024-12-07 12:52:45 +0800 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-12-07 10:10:16 +0100 |
commit | 382b7d67aee8bd671a46a33d47eca9f99464cad4 (patch) | |
tree | 457739a368f6e5e5f82f2cb933343688495d95d4 /lwip/port/netif/hurdethif.c | |
parent | b21b03ca624b89caeedfe58430cea4b40317d39f (diff) | |
download | hurd-382b7d67aee8bd671a46a33d47eca9f99464cad4.tar.gz hurd-382b7d67aee8bd671a46a33d47eca9f99464cad4.tar.bz2 hurd-382b7d67aee8bd671a46a33d47eca9f99464cad4.zip |
Code refactor
Message-ID: <20241207045245.1457-1-zhmingluo@163.com>
Diffstat (limited to 'lwip/port/netif/hurdethif.c')
-rw-r--r-- | lwip/port/netif/hurdethif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lwip/port/netif/hurdethif.c b/lwip/port/netif/hurdethif.c index b55c7edb..f2103566 100644 --- a/lwip/port/netif/hurdethif.c +++ b/lwip/port/netif/hurdethif.c @@ -402,7 +402,7 @@ hurdethif_demuxer (mach_msg_header_t * inp, mach_msg_header_t * outp) else local_port = inp->msgh_local_port; - for (netif = netif_list; netif; netif = netif->next) + NETIF_FOREACH(netif) if (local_port == netif_get_state (netif)->readptname) break; |