OpenBSD/src IcLhrd4 — sbin/dhclient dhclient.c bpf.c
Make send_packet() usage consistent. i.e. don't exit if send_packet(DISCOVER) fails. Distinguish between writev() and sendmsg() errors in send_packet() log messages. Check for short writes no matter how the packet is output. Return failure in this occurs. Check results of all send_packet() calls. If send_packet() fails, don't log that the DHCP message was sent.
Version | Delta | File | |
---|---|---|---|
1.504 | +15 | -13 | sbin/dhclient/dhclient.c |
1.66 | +21 | -4 | sbin/dhclient/bpf.c |
+36 | -17 | 2 files |