]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add a comment to document the non-presence of a Y2K bug, since people are getting...
authorTed Lemon <source@isc.org>
Sun, 15 Mar 1998 20:46:22 +0000 (20:46 +0000)
committerTed Lemon <source@isc.org>
Sun, 15 Mar 1998 20:46:22 +0000 (20:46 +0000)
server/db.c

index 327a9355adbadd5b31776ac408e91bc3bc962416..445def0215d9b0032df135c619bdcc9a88ead4ec 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: db.c,v 1.17 1997/12/02 07:44:56 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: db.c,v 1.18 1998/03/15 20:46:22 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -70,6 +70,9 @@ int write_lease (lease)
                ++errors;
        }
 
+       /* Note: the following is not a Y2K bug - it's a Y1.9K bug.   Until
+          somebody invents a time machine, I think we can safely disregard
+          it. */
        t = gmtime (&lease -> starts);
        sprintf (tbuf, "%d %d/%02d/%02d %02d:%02d:%02d;",
                 t -> tm_wday, t -> tm_year + 1900,