We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1240ca commit d927d9dCopy full SHA for d927d9d
tests/gnrc_sock_ip/main.c
@@ -362,9 +362,11 @@ static void test_sock_ip_recv__aux(void)
362
expect(AF_INET6 == result.family);
363
expect(memcmp(&result.addr, &src_addr, sizeof(result.addr)) == 0);
364
expect(_TEST_NETIF == result.netif);
365
-#ifdef MODULE_SOCK_AUX_LOCAL
+#if IS_USED(MODULE_SOCK_AUX_LOCAL)
366
expect(!(aux.flags & SOCK_AUX_GET_LOCAL));
367
expect(memcmp(&aux.local.addr, &dst_addr, sizeof(dst_addr)) == 0);
368
+#else
369
+ expect(aux.flags & SOCK_AUX_GET_LOCAL);
370
#endif
371
expect(_check_net());
372
}
0 commit comments