mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/gnrc_ipv6_nib: up interface on initial initialization
Since SLAAC now happens on the up event, the tests needs to ensure, that `gnrc_ipv6_nib_iface_up()` is called before assuming SLAAC happened. For the mock interface, this is done by gnrc_ipv6_nib_iface_up().
This commit is contained in:
parent
5f504ad70d
commit
7f146b6712
@ -85,6 +85,7 @@ void _tests_init(void)
|
||||
);
|
||||
_mock_netif = &_netif;
|
||||
expect(res == 0);
|
||||
_common_set_up();
|
||||
/* we do not want to test for SLAAC here so just assure the configured
|
||||
* address is valid */
|
||||
expect(!ipv6_addr_is_unspecified(&_mock_netif->ipv6.addrs[0]));
|
||||
|
Loading…
Reference in New Issue
Block a user