From: Roy Marples Date: Thu, 18 Sep 2014 08:42:41 +0000 (+0000) Subject: Remove some caddr_t usage. X-Git-Tag: v6.4.5~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1b035daf4eed44098ed17ec3196beece0c23ef6;p=thirdparty%2Fdhcpcd.git Remove some caddr_t usage. --- diff --git a/dhcp6.c b/dhcp6.c index 1a6c0367..fa636e9e 100644 --- a/dhcp6.c +++ b/dhcp6.c @@ -1053,8 +1053,8 @@ logsend: ctx = ifp->ctx->ipv6; dst.sin6_scope_id = ifp->index; - ctx->sndhdr.msg_name = (caddr_t)&dst; - ctx->sndhdr.msg_iov[0].iov_base = (caddr_t)state->send; + ctx->sndhdr.msg_name = (void *)&dst; + ctx->sndhdr.msg_iov[0].iov_base = state->send; ctx->sndhdr.msg_iov[0].iov_len = state->send_len; /* Set the outbound interface */ diff --git a/ipv6nd.c b/ipv6nd.c index d62f1615..801958f9 100644 --- a/ipv6nd.c +++ b/ipv6nd.c @@ -287,7 +287,7 @@ ipv6nd_sendrsprobe(void *arg) state = RS_STATE(ifp); ctx = ifp->ctx->ipv6; - ctx->sndhdr.msg_name = (caddr_t)&dst; + ctx->sndhdr.msg_name = (void *)&dst; ctx->sndhdr.msg_iov[0].iov_base = state->rs; ctx->sndhdr.msg_iov[0].iov_len = state->rslen;