First Commit
[librecmc/package-feed.git] / net / dhcpcd / patches / 001-fix-musl.patch
1 --- a/dhcp6.c
2 +++ b/dhcp6.c
3 @@ -1047,8 +1047,8 @@ logsend:
4  
5         ctx = ifp->ctx->ipv6;
6         dst.sin6_scope_id = ifp->index;
7 -       ctx->sndhdr.msg_name = (caddr_t)&dst;
8 -       ctx->sndhdr.msg_iov[0].iov_base = (caddr_t)state->send;
9 +       ctx->sndhdr.msg_name = (void *)&dst;
10 +       ctx->sndhdr.msg_iov[0].iov_base = (void *)state->send;
11         ctx->sndhdr.msg_iov[0].iov_len = state->send_len;
12  
13         /* Set the outbound interface */