mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #9675 from miri64/tests/fix/group-macro
tests: gnrc_netif: fix group join iteration macro
This commit is contained in:
commit
9786d2fd0b
@ -523,7 +523,7 @@ static void test_ipv6_group_join__ENOMEM(void)
|
|||||||
{
|
{
|
||||||
ipv6_addr_t addr = IPV6_ADDR_ALL_NODES_LINK_LOCAL;
|
ipv6_addr_t addr = IPV6_ADDR_ALL_NODES_LINK_LOCAL;
|
||||||
|
|
||||||
for (unsigned i = 0; i < GNRC_NETIF_IPV6_ADDRS_NUMOF;
|
for (unsigned i = 0; i < GNRC_NETIF_IPV6_GROUPS_NUMOF;
|
||||||
i++, addr.u16[7].u16++) {
|
i++, addr.u16[7].u16++) {
|
||||||
TEST_ASSERT(0 <= gnrc_netif_ipv6_group_join_internal(netifs[0], &addr));
|
TEST_ASSERT(0 <= gnrc_netif_ipv6_group_join_internal(netifs[0], &addr));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user