summaryrefslogtreecommitdiff
path: root/sys/net/if_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_loop.c')
-rw-r--r--sys/net/if_loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c
index 2ba5b85570c..a15820420ef 100644
--- a/sys/net/if_loop.c
+++ b/sys/net/if_loop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_loop.c,v 1.91 2020/07/22 02:16:01 dlg Exp $ */
+/* $OpenBSD: if_loop.c,v 1.92 2022/09/08 10:22:06 kn Exp $ */
/* $NetBSD: if_loop.c,v 1.15 1996/05/07 02:40:33 thorpej Exp $ */
/*
@@ -205,7 +205,7 @@ loop_clone_destroy(struct ifnet *ifp)
/* if there is any other interface in this rdomain, deny */
NET_LOCK();
- TAILQ_FOREACH(p, &ifnet, if_list) {
+ TAILQ_FOREACH(p, &ifnetlist, if_list) {
if (p->if_rdomain != ifp->if_rdomain)
continue;
if (p->if_index == ifp->if_index)