mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-01 14:55:30 +00:00
Process the state transition if we're doing a deferred update.
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
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 */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@@ -1024,7 +1024,7 @@ int supersede_lease (comp, lease, commit, propogate, pimmediate)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Make the state transition. */
|
/* Make the state transition. */
|
||||||
if (commit)
|
if (commit || !pimmediate)
|
||||||
process_state_transition (comp);
|
process_state_transition (comp);
|
||||||
|
|
||||||
/* Put the lease back on the appropriate queue. If the lease
|
/* Put the lease back on the appropriate queue. If the lease
|
||||||
|
Reference in New Issue
Block a user