From 588c86180e9db486becacf88283f098e321d5cb5 Mon Sep 17 00:00:00 2001 From: suz Date: Thu, 4 Aug 2005 13:49:40 +0000 Subject: [PATCH] removed a duplicated and unnecessary code --- kame/sys/netinet6/nd6.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/kame/sys/netinet6/nd6.c b/kame/sys/netinet6/nd6.c index e17dc1ca90..14b23ed3af 100644 --- a/kame/sys/netinet6/nd6.c +++ b/kame/sys/netinet6/nd6.c @@ -1,4 +1,4 @@ -/* $KAME: nd6.c,v 1.384 2005/07/14 14:15:00 jinmei Exp $ */ +/* $KAME: nd6.c,v 1.385 2005/08/04 13:49:40 suz Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -1220,14 +1220,6 @@ nd6_is_addr_neighbor(addr, ifp) return (1); } - /* - * If the address is assigned on the node of the other side of - * a p2p interface, the address should be a neighbor. - */ - dstaddr = ifa_ifwithdstaddr((struct sockaddr *)addr); - if ((dstaddr != NULL) && (dstaddr->ifa_ifp == ifp)) - return (1); - /* * If the address is assigned on the node of the other side of * a p2p interface, the address should be a neighbor.