From: Ted Lemon Date: Mon, 12 Feb 2001 19:46:59 +0000 (+0000) Subject: Don't save lease timestamp in database. X-Git-Tag: V3-BETA-2-PATCH-18~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84a2288c45073c7ce2c97423a59e58ff3c035f23;p=thirdparty%2Fdhcp.git Don't save lease timestamp in database. --- diff --git a/common/print.c b/common/print.c index 7fd0ebeb7..df1345a5c 100644 --- a/common/print.c +++ b/common/print.c @@ -43,7 +43,7 @@ #ifndef lint static char copyright[] = -"$Id: print.c,v 1.48 2001/01/16 23:12:47 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: print.c,v 1.49 2001/02/12 19:46:59 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -88,10 +88,6 @@ void print_lease (lease) strftime (tbuf, sizeof tbuf, "%Y/%m/%d %H:%M:%S", t); log_debug (" end %s", tbuf); - t = gmtime (&lease -> timestamp); - strftime (tbuf, sizeof tbuf, "%Y/%m/%d %H:%M:%S", t); - log_debug (" stamp %s", tbuf); - if (lease -> hardware_addr.hlen) log_debug (" hardware addr = %s", print_hw_addr (lease -> hardware_addr.hbuf [0],