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 e509cdc commit dc41aadCopy full SHA for dc41aad
tests/net/mld/src/main.c
@@ -327,6 +327,7 @@ static void send_query(struct net_if *iface)
327
/* router alert opt + icmpv6 reserved space + mldv2 mcast record */
328
pkt = net_pkt_alloc_with_buffer(iface, 144, AF_INET6,
329
IPPROTO_ICMPV6, K_FOREVER);
330
+ zassert_not_null(pkt, "Cannot allocate pkt");
331
332
net_pkt_set_ipv6_hop_limit(pkt, 1); /* RFC 3810 ch 7.4 */
333
net_ipv6_create_new(pkt, &peer_addr, &dst);
0 commit comments