2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Minor fix, see rt16176.

This commit is contained in:
Shane Kerr
2006-06-19 20:39:28 +00:00
parent 2b9ce770a3
commit c36d062ea3

View File

@@ -34,7 +34,7 @@
#ifndef lint
static char copyright[] =
"$Id: dhcp.c,v 1.206 2006/06/16 19:26:45 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
"$Id: dhcp.c,v 1.207 2006/06/19 20:39:28 shane Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -1924,7 +1924,7 @@ void ack_lease (packet, lease, offer, when, msg, ms_nulltp, hp)
*/
if (offer == DHCPOFFER &&
lease->billing_class != NULL &&
lease->state != FTS_ACTIVE)
lease->binding_state != FTS_ACTIVE)
unbill_class(lease, lease->billing_class);
}
}