From: bluhm Date: Tue, 1 Mar 2022 23:53:03 +0000 (+0000) Subject: Remove outdated comment about v4-mapped v6 addresses. They are not X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=934ada2ee83964da06f6e506f66d2a1c22338bbd;p=openbsd Remove outdated comment about v4-mapped v6 addresses. They are not supported anymore. --- diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index f43535b8a1e..a61dafcb180 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in_pcb.c,v 1.256 2021/10/25 22:20:47 bluhm Exp $ */ +/* $OpenBSD: in_pcb.c,v 1.257 2022/03/01 23:53:03 bluhm Exp $ */ /* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */ /* @@ -671,14 +671,6 @@ in_pcbnotifyall(struct inpcbtable *table, struct sockaddr *dst, u_int rtable, NET_ASSERT_LOCKED(); -#ifdef INET6 - /* - * See in6_pcbnotify() for IPv6 codepath. By the time this - * gets called, the addresses passed are either definitely IPv4 or - * IPv6; *_pcbnotify() never gets called with v4-mapped v6 addresses. - */ -#endif /* INET6 */ - if (dst->sa_family != AF_INET) return; faddr = satosin(dst)->sin_addr;