sizeof(struct sockaddr_in) != sizeof(struct in_addr).
authorkrw <krw@openbsd.org>
Mon, 3 Jul 2017 22:06:11 +0000 (22:06 +0000)
committerkrw <krw@openbsd.org>
Mon, 3 Jul 2017 22:06:11 +0000 (22:06 +0000)
commitf596e0fce394829109bffafa9d14dcbbf8dbde61
tree9713a79acfd266bc2aacf57cda8851e9f3c118ee
parentaeaae5b27e54fa3699929936c656f55e94bf5c37
sizeof(struct sockaddr_in) != sizeof(struct in_addr).

Fix construction of the unicast UDP packets being sent
out via sendmsg(). Accidentally broken in r1.32 (5.6)
when types were juggled.

ok bluhm@
sbin/dhclient/bpf.c