Permalink
Browse files

removed a duplicated and unnecessary code

  • Loading branch information...
suz
suz committed Aug 4, 2005
1 parent 3abedb3 commit 588c86180e9db486becacf88283f098e321d5cb5
Showing with 1 addition and 9 deletions.
  1. +1 −9 kame/sys/netinet6/nd6.c
View
@@ -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.

0 comments on commit 588c861

Please sign in to comment.