summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1999-05-27 17:47:43 +0000
committerTed Lemon <source@isc.org>1999-05-27 17:47:43 +0000
commit1bb3371f418388a725640271d9a086dac5e4e981 (patch)
tree3250613477843bc9e3644ef88539b46cde230957
parentf63a5e37a9227a87d781a5c7bc66b2613fff88a8 (diff)
downloadisc-dhcp-1bb3371f418388a725640271d9a086dac5e4e981.tar.gz
Don't copy timestamp from new lease value structure.
-rw-r--r--common/memory.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/memory.c b/common/memory.c
index 871fe077..c293217e 100644
--- a/common/memory.c
+++ b/common/memory.c
@@ -42,7 +42,7 @@
#ifndef lint
static char copyright[] =
-"$Id: memory.c,v 1.35.2.3 1998/11/24 22:32:43 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. All rights reserved.\n";
+"$Id: memory.c,v 1.35.2.4 1999/05/27 17:47:43 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -527,7 +527,6 @@ int supersede_lease (comp, lease, commit)
/* Copy the data files, but not the linkages. */
comp -> starts = lease -> starts;
- comp -> timestamp = lease -> timestamp;
if (lease -> uid) {
if (lease -> uid_len < sizeof (lease -> uid_buf)) {
memcpy (comp -> uid_buf,