This can be avoided by checking the bidirectional of a link, so
that the nodes ensure that they can reach their parent with in one
hop. The table no.2 contains the summary of the various attacks
of WSN and also in short summarizes the defense mechanism.