From 77f5b2d92e849bd96e98f83bf0df5e91ada84d8f Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Fri, 6 Apr 2001 01:03:39 +0000 Subject: [PATCH] Process the state transition if we're doing a deferred update. --- server/mdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/mdb.c b/server/mdb.c index 21d63e47..09dcac12 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