]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[dhcp] Don't consider invalid offers to be duplicates
authorJoshua Oreman <oremanj@rwcr.net>
Wed, 26 May 2010 21:22:03 +0000 (14:22 -0700)
committerMichael Brown <mcb30@ipxe.org>
Thu, 27 May 2010 09:22:05 +0000 (10:22 +0100)
commit905ea567534bbb67b83b2be41bfcd42209681e6a
tree3b0147190d2b983692551c734379e96b6e6069b6
parent2aad3fab233f0235f9a8f677ae7bb402f1647eb6
[dhcp] Don't consider invalid offers to be duplicates

This fixes a regression in BOOTP support; since BOOTP requests often
have the `siaddr' field set to 0.0.0.0, they would be considered
duplicates of the first zeroed-out offer slot.

Signed-off-by: Joshua Oreman <oremanj@rwcr.net>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/udp/dhcp.c