From: Ted Lemon Date: Thu, 27 May 1999 14:11:58 +0000 (+0000) Subject: Don't overwrite timestamp from new lease value structure. X-Git-Tag: V3-ALPHA-19990527~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f011dedde6f8376583e874de7216c4e572953033;p=thirdparty%2Fdhcp.git Don't overwrite timestamp from new lease value structure. --- diff --git a/common/memory.c b/common/memory.c index 092c079cd..06668d1b5 100644 --- a/common/memory.c +++ b/common/memory.c @@ -22,7 +22,7 @@ #ifndef lint static char copyright[] = -"$Id: memory.c,v 1.49 1999/05/07 17:35:12 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: memory.c,v 1.50 1999/05/27 14:11:58 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -528,7 +528,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,