]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
unsigned constants
authorMark Andrews <marka@isc.org>
Wed, 14 Feb 2018 13:16:19 +0000 (00:16 +1100)
committerMark Andrews <marka@isc.org>
Fri, 16 Feb 2018 07:15:21 +0000 (18:15 +1100)
lib/dns/sdlz.c
util/copyrights

index 760810e105813a66d5ee490dafad7879df040ff1..f137b8d67c160424192e91272f5c280f1a09f666 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Portions Copyright (C) 2005-2012, 2015-2017  Internet Systems Consortium, Inc. ("ISC")
+ * Portions Copyright (C) 2005-2012, 2015-2018  Internet Systems Consortium, Inc. ("ISC")
  * Portions Copyright (C) 1999-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -50,8 +50,6 @@
  * USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id$ */
-
 /*! \file */
 
 #include <config.h>
@@ -158,10 +156,10 @@ typedef struct sdlz_rdatasetiter {
 #define VALID_SDLZNODE(sdlzn)  VALID_SDLZLOOKUP(sdlzn)
 
 /* These values are taken from RFC 1537 */
-#define SDLZ_DEFAULT_REFRESH   (60 * 60 * 8)
-#define SDLZ_DEFAULT_RETRY     (60 * 60 * 2)
-#define SDLZ_DEFAULT_EXPIRE    (60 * 60 * 24 * 7)
-#define SDLZ_DEFAULT_MINIMUM   (60 * 60 * 24)
+#define SDLZ_DEFAULT_REFRESH   28800U          /* 8 hours */
+#define SDLZ_DEFAULT_RETRY     7200U           /* 2 hours */
+#define SDLZ_DEFAULT_EXPIRE    604800U         /* 7 days */
+#define SDLZ_DEFAULT_MINIMUM   86400U          /* 1 day */
 
 /* This is a reasonable value */
 #define SDLZ_DEFAULT_TTL       (60 * 60 * 24)
index 4a6c94680e2764005109c51f5d5f8e0ab0cb181b..01573ca4cc004d2b67df2efcd054d4922ba2ca3e 100644 (file)
 ./lib/dns/rriterator.c                         C       2009,2011,2012
 ./lib/dns/rrl.c                                        C       2013,2014,2015,2017
 ./lib/dns/sdb.c                                        C       2000,2001,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2015,2016,2018
-./lib/dns/sdlz.c                               C.PORTION       1999,2000,2001,2005,2006,2007,2008,2009,2010,2011,2012,2015,2016,2017
+./lib/dns/sdlz.c                               C.PORTION       1999,2000,2001,2005,2006,2007,2008,2009,2010,2011,2012,2015,2016,2017,2018
 ./lib/dns/soa.c                                        C       2000,2001,2004,2005,2007,2009
 ./lib/dns/spnego.asn1                          X       2006
 ./lib/dns/spnego.c                             C       2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017