001-fix-musl.patch 402 B

12345678910111213
  1. --- a/dhcp6.c
  2. +++ b/dhcp6.c
  3. @@ -1047,8 +1047,8 @@ logsend:
  4. ctx = ifp->ctx->ipv6;
  5. dst.sin6_scope_id = ifp->index;
  6. - ctx->sndhdr.msg_name = (caddr_t)&dst;
  7. - ctx->sndhdr.msg_iov[0].iov_base = (caddr_t)state->send;
  8. + ctx->sndhdr.msg_name = (void *)&dst;
  9. + ctx->sndhdr.msg_iov[0].iov_base = (void *)state->send;
  10. ctx->sndhdr.msg_iov[0].iov_len = state->send_len;
  11. /* Set the outbound interface */