From: Ted Lemon Date: Fri, 6 Apr 2001 01:03:39 +0000 (+0000) Subject: Process the state transition if we're doing a deferred update. X-Git-Tag: V3-BETA-2-PATCH-24~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=77f5b2d92e849bd96e98f83bf0df5e91ada84d8f;p=thirdparty%2Fdhcp.git Process the state transition if we're doing a deferred update. --- diff --git a/server/mdb.c b/server/mdb.c index 21d63e472..09dcac12b 100644 --- a/server/mdb.c +++ b/server/mdb.c @@ -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