[DHCP] Fix RFC4390 client identifier constructions.
authorMichael Brown <mcb30@etherboot.org>
Wed, 27 Feb 2008 16:55:46 +0000 (16:55 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 27 Feb 2008 16:55:46 +0000 (16:55 +0000)
commit844828cb157491121d6110d903cc84a9e4a75d02
tree04ab562aa5fa9126e446448eed2aac60f6eca295
parentbc3f0a25c6e3ce8344fa3c255a8e3a981f59309b
[DHCP] Fix RFC4390 client identifier constructions.

RFC 4390 provides for the DHCP client identifier to contain the link-layer
hardware type and MAC address when the MAC address exceeds 16 bytes.
However, the hardware type field is only 8 bits; we were assuming 16 bits.
src/net/udp/dhcp.c