switch (dst_netaddr->sa_family) {
case AF_INET: {
- struct sockaddr_dl ll_dest;
+ struct sockaddr_dl ll_dest = {};
result = arp_lookup_ip(ifp,
(const struct sockaddr_in *)(uintptr_t)(size_t)dst_netaddr,
eh = mbuf_data(m);
eh->ether_type = htons(ETHERTYPE_ARP);
-#if CONFIG_MACF_NET
- mac_mbuf_label_associate_linklayer(ifp, m);
-#endif
-
/* Fill out the arp header */
ea->arp_pro = htons(ETHERTYPE_IP);
ea->arp_hln = sizeof(ea->arp_sha);