Skip to content

Commit

Permalink
removed a duplicated and unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
suz committed Aug 4, 2005
1 parent 3abedb3 commit 588c861
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions 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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 588c861

Please sign in to comment.