summaryrefslogtreecommitdiff
path: root/sys/netinet/in_pcb.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2022-03-01 23:53:04 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2022-03-01 23:53:04 +0000
commit8811b97a50baca840ba49617db1e1eaa3d217580 (patch)
tree23c9c68604360ad9f06d9b9f0ea27dff22dabd50 /sys/netinet/in_pcb.c
parentb2b5effb69e61bef6bbd078034a899a9dc3a4ea5 (diff)
Remove outdated comment about v4-mapped v6 addresses. They are not
supported anymore.
Diffstat (limited to 'sys/netinet/in_pcb.c')
-rw-r--r--sys/netinet/in_pcb.c10
1 files changed, 1 insertions, 9 deletions
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;