From a4ffedd162fa7baf2c0a29d6fdff786000ba7e7c Mon Sep 17 00:00:00 2001 From: David Hankins Date: Thu, 11 Sep 2008 16:11:46 +0000 Subject: [PATCH] - A cosmetic bug in DHCPDECLINE processing was fixed which caused all successful DHCPDECLINEs to be logged as "not found" rather than "abandoned". [ISC-Bugs #18605] --- RELNOTES | 6 ++++++ server/dhcp.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/RELNOTES b/RELNOTES index 08411706..ea8b5ca6 100644 --- a/RELNOTES +++ b/RELNOTES @@ -48,6 +48,12 @@ work on other platforms. Please report any problems and suggested fixes to . + Changes since 4.1.0a2 + +- A cosmetic bug in DHCPDECLINE processing was fixed which caused all + successful DHCPDECLINEs to be logged as "not found" rather than + "abandoned". + Changes since 4.1.0a1 - Corrected list of failover state values in dhcpd man page. diff --git a/server/dhcp.c b/server/dhcp.c index 72e34382..d26fc000 100644 --- a/server/dhcp.c +++ b/server/dhcp.c @@ -917,8 +917,9 @@ void dhcpdecline (packet, ms_nulltp) abandon_lease (lease, "declined."); status = "abandoned"; + } else { + status = "not found"; } - status = "not found"; } else status = "ignored";