2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 05:47:45 +00:00

Process the state transition if we're doing a deferred update.

This commit is contained in:
Ted Lemon 2001-04-06 01:03:39 +00:00
parent 6a031f2e3c
commit 77f5b2d92e

View 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