]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Minor fix, see rt16176.
authorShane Kerr <shane@isc.org>
Mon, 19 Jun 2006 20:39:28 +0000 (20:39 +0000)
committerShane Kerr <shane@isc.org>
Mon, 19 Jun 2006 20:39:28 +0000 (20:39 +0000)
server/dhcp.c

index 8be04bf43b9d2df3c199353ecb97d4ec340b4bc7..f9c71e950172a9c3a136a830f4f2279bb1511ecb 100644 (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);
                }
        }