svn commit: r252619 - head/sbin/dhclient
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Jul 3 21:58:27 UTC 2013
Author: pjd
Date: Wed Jul 3 21:58:26 2013
New Revision: 252619
URL: http://svnweb.freebsd.org/changeset/base/252619
Log:
MFp4 @229474:
iov_base field is 'void *' in FreeBSD, no need to cast.
Reviewed by: brooks
Sponsored by: The FreeBSD Foundation
Modified:
head/sbin/dhclient/bpf.c
Modified: head/sbin/dhclient/bpf.c
==============================================================================
--- head/sbin/dhclient/bpf.c Wed Jul 3 21:57:24 2013 (r252618)
+++ head/sbin/dhclient/bpf.c Wed Jul 3 21:58:26 2013 (r252619)
@@ -264,9 +264,9 @@ send_packet(struct interface_info *inter
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 */
More information about the svn-src-head
mailing list