From: Ted Lemon Date: Wed, 5 Jan 2000 18:43:33 +0000 (+0000) Subject: Save failover-specific info even if FAILOVER_PROTOCOL isn't defined. X-Git-Tag: V3-BETA-2-PATCH-1~455 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f36d5b137b6555870d1e836c155a6fae3c68e6bc;p=thirdparty%2Fdhcp.git Save failover-specific info even if FAILOVER_PROTOCOL isn't defined. --- diff --git a/server/db.c b/server/db.c index 68c9d973f..ef45f1e0c 100644 --- a/server/db.c +++ b/server/db.c @@ -22,7 +22,7 @@ #ifndef lint static char copyright[] = -"$Id: db.c,v 1.38 2000/01/05 18:15:28 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: db.c,v 1.39 2000/01/05 18:43:33 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -83,7 +83,6 @@ int write_lease (lease) ++errors; } -#if defined (FAILOVER_PROTOCOL) t = gmtime (&lease -> tstp); errno = 0; fprintf (db_file, "\ttstp %d %d/%02d/%02d %02d:%02d:%02d;", @@ -111,7 +110,6 @@ int write_lease (lease) ++errors; } } -#endif /* FAILOVER_PROTOCOL */ /* If this lease is billed to a class and is still valid, write it out. */