From b80447c07d1b9419679e3cc15a9e72085579f478 Mon Sep 17 00:00:00 2001 From: Jun-ichiro itojun Hagino Date: Thu, 6 Dec 2001 02:21:49 +0000 Subject: remove obsolete comment; we don't support IPv4 mapped addr --- sys/netinet/in_pcb.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'sys/netinet') diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index d6f8a930373..1f25c3545fc 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in_pcb.c,v 1.57 2001/12/06 02:12:52 itojun Exp $ */ +/* $OpenBSD: in_pcb.c,v 1.58 2001/12/06 02:21:48 itojun Exp $ */ /* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */ /* @@ -805,16 +805,6 @@ in_pcblookup(table, faddrp, fport_arg, laddrp, lport_arg, flags) struct in6_addr *laddr6 = (struct in6_addr *)laddrp; struct in6_addr *faddr6 = (struct in6_addr *)faddrp; - /* - * Always skip AF_INET sockets when looking - * for AF_INET6 addresses. The only problem - * with this comes if the PF_INET6 addresses - * are v4-mapped addresses. From what I've - * been able to see, none of the callers cause - * such a situation to occur. If such a - * situation DID occur, then it is possible to - * miss a matching PCB. - */ if (!(inp->inp_flags & INP_IPV6)) continue; -- cgit v1.2.3