[pxe] Populate ciaddr in fake PXE Boot Server ACK packet
authorMichael Brown <mcb30@ipxe.org>
Tue, 1 Sep 2015 15:52:27 +0000 (16:52 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 1 Sep 2015 20:24:02 +0000 (21:24 +0100)
commitbe51713474e015eea2ed268348d26fb6b06e3105
tree78c0f2ba2a2f6cae362e9c90b827f09513d955a2
parent355da7b1336114564ce442b7d9bc4485f86d0be5
[pxe] Populate ciaddr in fake PXE Boot Server ACK packet

We currently do not populate the ciaddr field in the constructed PXE
Boot Server ACK packet.  This causes a WDS server to respond with a
broadcast packet, which is then ignored by wdsmgfw.efi since it does
not match the specified IP address filter.

Fix by populating ciaddr within the constructed PXE Boot Server ACK
packet.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/fakedhcp.c