diff options
author | Ted Lemon <source@isc.org> | 2001-02-12 19:46:59 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2001-02-12 19:46:59 +0000 |
commit | 84a2288c45073c7ce2c97423a59e58ff3c035f23 (patch) | |
tree | e250f521ddca4bda55521917038d4257b36c4b49 /common/print.c | |
parent | 76d12bd8d06c2d4bb5fba2bebfc587947061684d (diff) | |
download | isc-dhcp-84a2288c45073c7ce2c97423a59e58ff3c035f23.tar.gz |
Don't save lease timestamp in database.
Diffstat (limited to 'common/print.c')
-rw-r--r-- | common/print.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/common/print.c b/common/print.c index 7fd0ebeb..df1345a5 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], |