[dhcp] Allow DHCP non-option settings to be cleared
authorMichael Brown <mcb30@etherboot.org>
Tue, 8 Jul 2008 00:13:59 +0000 (01:13 +0100)
committerMichael Brown <mcb30@etherboot.org>
Tue, 8 Jul 2008 00:13:59 +0000 (01:13 +0100)
commit2df682c5beaaf6f0cc926a9b802f08a5c8175258
treed99477b82c19242ac5149b63528f7416d71a6b74
parent3ad348e55a51da012ad4a0ad029da5e80541e4ec
[dhcp] Allow DHCP non-option settings to be cleared

dhcppkt_store() is supposed to clear the setting if passed NULL for the
setting data.  In the case of fixed-location fields (e.g. client IP
address), this requires setting the content of the field to all-zeros.
src/net/dhcppkt.c