summaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2022-11-25 15:03:25 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2022-11-25 15:03:25 +0000
commit187c3d1893c684f734c9993921174267e5c4ac82 (patch)
tree4b5ad0239bff80df6aa095ad7ea23de904110540 /sys/netinet6
parent40a36fe7e0d77aa8eaf32774858c58005ac999c1 (diff)
Revert hunk accidentially committed in r1.248 "Clarify/typofix comments"
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/nd6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c
index ce6b1c02ba1..4e9c4b9aa16 100644
--- a/sys/netinet6/nd6.c
+++ b/sys/netinet6/nd6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nd6.c,v 1.253 2022/11/23 16:59:10 kn Exp $ */
+/* $OpenBSD: nd6.c,v 1.254 2022/11/25 15:03:24 kn Exp $ */
/* $KAME: nd6.c,v 1.280 2002/06/08 19:52:07 itojun Exp $ */
/*
@@ -488,7 +488,7 @@ nd6_expire(void *unused)
TAILQ_FOREACH_SAFE(ifa, &ifp->if_addrlist, ifa_list, nifa) {
if (ifa->ifa_addr->sa_family != AF_INET6)
continue;
- ia6 = ifatoia6(ifaref(ifa));
+ ia6 = ifatoia6(ifa);
/* check address lifetime */
if (IFA6_IS_INVALID(ia6)) {
in6_purgeaddr(&ia6->ia_ifa);