tests: net: ipv6: Wrong IP address was added to cache

Peer address is used when sending NS so that it is added
properly to neighbor cache.

Change-Id: I51c2e236a0b137f7ab086a782f3baced13aa3ee3
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2016-11-29 15:23:42 +02:00
commit e2a4432e85

View file

@ -312,7 +312,7 @@ static bool net_test_send_ns(void)
NULL,
&peer_addr,
&my_addr,
&my_addr,
&peer_addr,
false);
if (ret < 0) {
TC_ERROR("Cannot send NS (%d)\n", ret);