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:
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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user