CVSROOT:        /cvs
Module name:    src
Changes by:     [EMAIL PROTECTED]       2008/11/15 23:04:11

Modified files:
        usr.sbin/dhcpd : Tag: OPENBSD_4_4 options.c 

Log message:
rev 1.24
Sigh. Some clients can't handle three DHO_PAD options holding space
for an unused overload option. Noticed by mk@ when netbooting his
G4 mac mini.

So compact the options by shifting them over the unused option and
filling the end by DHO_PAD.

rev 1.23
Some clients don't parse a DHO_DHCP_OPTION_OVERLOAD option the way
I expected. They object if there are no bits set in the option
value. So just use DHO_PAD in the reserved space unless at least
one of the bits is set.

rev 1.22
bzero' the option buffer with the correct buffer size.  this fixes
incomplete buffer initialization and possible incorrect option
handling.

Reply via email to