net-test: Fix testDadFailure()

WaitForDad() on link local addr doesn't necessarily mean DAD failure.
Add WaitForDadFailure() to check either address is deleted or
IFA_F_DADFAILED flag is set after DAD failure.

Also after SendRA(), sleep(0.1) to give kernel time to initialize DAD.

Bug: 327366827
Test: atest
Change-Id: I9e71d2eee149216449ab1eca8fbdb0b2433bfac5
1 file changed
tree: e77937b9f45a7cd0b190320adc2ac168b481b98f
  1. net/