cons_options() only needs to know a buffer and a length to
authorkrw <krw@openbsd.org>
Thu, 6 Jul 2017 16:56:52 +0000 (16:56 +0000)
committerkrw <krw@openbsd.org>
Thu, 6 Jul 2017 16:56:52 +0000 (16:56 +0000)
commitcbd427b414d43e04ff6df58a297b98bcc024bdd9
treecda4e65dbdbed09eb4f5d80d0b5e78a91c4ae60e
parent1348ef29f0ee292b94fc81e2a1c7e46ff458bfd9
cons_options() only needs to know a buffer and a length to
pack options into. Not all the gory details of interface_info.

Move some of the raw packet processing out of options.c's
do_packet() and into the more obvious dispatch.c's
packethandler().

Mention that RFC791 is why we use 576-byte UDP packets.
sbin/dhclient/dhclient.c
sbin/dhclient/dhcpd.h
sbin/dhclient/dispatch.c
sbin/dhclient/options.c