From: Shane Kerr Date: Mon, 19 Jun 2006 20:39:28 +0000 (+0000) Subject: Minor fix, see rt16176. X-Git-Tag: DHCPv6_parsing_base~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c36d062ea3cf48e686fb1667915305464ff47780;p=thirdparty%2Fdhcp.git Minor fix, see rt16176. --- diff --git a/server/dhcp.c b/server/dhcp.c index 8be04bf43..f9c71e950 100644 --- a/server/dhcp.c +++ b/server/dhcp.c @@ -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); } }