]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Process the state transition if we're doing a deferred update.
authorTed Lemon <source@isc.org>
Fri, 6 Apr 2001 01:03:39 +0000 (01:03 +0000)
committerTed Lemon <source@isc.org>
Fri, 6 Apr 2001 01:03:39 +0000 (01:03 +0000)
server/mdb.c

index 21d63e4721cc64670e6b6d9b30f2b2cdd878ebfa..09dcac12b6ecd98dd40a0df606f65830de1795df 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: mdb.c,v 1.56 2001/03/16 01:57:00 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: mdb.c,v 1.57 2001/04/06 01:03:39 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -1024,7 +1024,7 @@ int supersede_lease (comp, lease, commit, propogate, pimmediate)
        }
 
        /* Make the state transition. */
-       if (commit)
+       if (commit || !pimmediate)
                process_state_transition (comp);
 
        /* Put the lease back on the appropriate queue.    If the lease