]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Don't overwrite timestamp from new lease value structure.
authorTed Lemon <source@isc.org>
Thu, 27 May 1999 14:11:58 +0000 (14:11 +0000)
committerTed Lemon <source@isc.org>
Thu, 27 May 1999 14:11:58 +0000 (14:11 +0000)
common/memory.c

index 092c079cd304d9f5e85c48ab1bb2e744c0b1c3fa..06668d1b51b7c49025e03577aa71de7abd9e1acf 100644 (file)
@@ -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,