summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6.c
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2022-09-08 10:22:08 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2022-09-08 10:22:08 +0000
commitfae7b82c435ab26e6a5ae158943c81f3fb25a86a (patch)
tree6c7257f491c1be38c4a0dc409fb14d959d1a712b /sys/netinet6/in6.c
parent8250e2cc1a067efb0f8df6265fbb03eefb97f05f (diff)
Rename global ifnet TAILQ
Naming the list like the struct itself makes for awful grepping. Call the global variable "ifnetlist" from now on. There used to be kvm(3) consumers in base picking up this symbol, but those have long been converted to other interfaces. A few potential ports users remain, same deal as sys/net/if_var.h r1.116 "Remove struct ifnet's unused if_switchport member": they get bumped. Previous users pointed out by deraadt OK bluhm
Diffstat (limited to 'sys/netinet6/in6.c')
-rw-r--r--sys/netinet6/in6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c
index 65ad1687e3c..900456fff1a 100644
--- a/sys/netinet6/in6.c
+++ b/sys/netinet6/in6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6.c,v 1.248 2022/08/29 07:51:45 bluhm Exp $ */
+/* $OpenBSD: in6.c,v 1.249 2022/09/08 10:22:06 kn Exp $ */
/* $KAME: in6.c,v 1.372 2004/06/14 08:14:21 itojun Exp $ */
/*
@@ -1344,7 +1344,7 @@ in6_ifawithscope(struct ifnet *oifp, struct in6_addr *dst, u_int rdomain)
}
/* We search for all addresses on all interfaces from the beginning. */
- TAILQ_FOREACH(ifp, &ifnet, if_list) {
+ TAILQ_FOREACH(ifp, &ifnetlist, if_list) {
if (ifp->if_rdomain != rdomain)
continue;
#if NCARP > 0