commit 916bbee1484a661db9346c85685c7d9ce2184f91
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Tue Jul 21 12:48:41 2020 -0500
fix(dhcp): Properly handle lease requested addresses in DISCOVER
We were not properly ignoring the lease requested address in the
DISCOVER codepath when there was conflicting non-expired lease with
the address being requested, leading to a DISCOVER -> OFFER -> REQUEST
-> NAK loop. Fix it by noticing the situation and zeroing out the
requested address, which will cause us to allocate a new address.
M backend/dhcpUtils.go
M backend/dhcpUtils_test.go
End of Note