[dhcp] Verify server identifier on ProxyDHCPACKs
authorMichael Brown <mcb30@etherboot.org>
Tue, 1 Jul 2008 00:56:37 +0000 (17:56 -0700)
committerMichael Brown <mcb30@etherboot.org>
Tue, 1 Jul 2008 00:56:37 +0000 (17:56 -0700)
commitfdb8481de1d8e307760d2ff39a7f0c39a9518e7c
tree7c6ede2312f395e06af9ef6236cfb020231583e6
parent25450dc59ce0ad1d363edced1beb13c6042a68b7
[dhcp] Verify server identifier on ProxyDHCPACKs

Perform the same test for a matching DHCP_SERVER_IDENTIFIER on
ProxyDHCPACKs as we do for DHCPACKs.  Otherwise, a retransmitted
DHCPACK can end up being treated as the ProxyDHCPACK.

I have a vague and unsettling memory that this test was deliberately
omitted, but I can't remember why, and can't find anything in the VC
logs.
src/net/udp/dhcp.c