MFp4 @229474:

iov_base field is 'void *' in FreeBSD, no need to cast.

Reviewed by:	brooks
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Pawel Jakub Dawidek 2013-07-03 21:58:26 +00:00
parent e8da500388
commit 3a0fc7d8a9

@ -264,9 +264,9 @@ send_packet(struct interface_info *interface, struct dhcp_packet *raw,
assemble_udp_ip_header(buf, &bufp, from.s_addr, to.s_addr,
htons(REMOTE_PORT), (unsigned char *)raw, len);
iov[0].iov_base = (char *)buf;
iov[0].iov_base = buf;
iov[0].iov_len = bufp;
iov[1].iov_base = (char *)raw;
iov[1].iov_base = raw;
iov[1].iov_len = len;
/* Fire it off */