need to be rewritten during the expirating process.
#ifndef lint
static char copyright[] =
-"$Id: db.c,v 1.36 1999/10/28 13:02:24 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
+"$Id: db.c,v 1.37 1999/11/07 20:28:23 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
read_leases ();
if (!testp) {
+ db_file = fopen (path_dhcpd_db, "a");
expire_all_pools ();
GET_TIME (&write_time);
new_lease_file ();