]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Don't save lease timestamp in database.
authorTed Lemon <source@isc.org>
Mon, 12 Feb 2001 19:46:59 +0000 (19:46 +0000)
committerTed Lemon <source@isc.org>
Mon, 12 Feb 2001 19:46:59 +0000 (19:46 +0000)
common/print.c

index 7fd0ebeb7dc91b94c30f64288de7eb89d4d23bb7..df1345a5cbbd9ed2f4d900149a4c6af6a8bedf89 100644 (file)
@@ -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],