1
0
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:
Gaëtan Harter 2018-08-01 23:17:07 +02:00 committed by GitHub
commit 9786d2fd0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -523,7 +523,7 @@ static void test_ipv6_group_join__ENOMEM(void)
{
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++) {
TEST_ASSERT(0 <= gnrc_netif_ipv6_group_join_internal(netifs[0], &addr));
}