]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
unsigned constants
authorMark Andrews <marka@isc.org>
Wed, 14 Feb 2018 13:14:06 +0000 (00:14 +1100)
committerMark Andrews <marka@isc.org>
Thu, 15 Feb 2018 23:20:38 +0000 (10:20 +1100)
lib/dns/sdb.c
util/copyrights

index 456a54bf9f9ae599fc1d688ddbda51591d26bdec..f415bad2b83c3ad3207ad46c19454c9e90855471 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2000, 2001, 2003-2017  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2000, 2001, 2003-2018  Internet Systems Consortium, Inc. ("ISC")
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -104,10 +104,10 @@ typedef struct sdb_rdatasetiter {
 #define VALID_SDBNODE(sdbn)    VALID_SDBLOOKUP(sdbn)
 
 /* These values are taken from RFC1537 */
-#define SDB_DEFAULT_REFRESH    (60 * 60 * 8)
-#define SDB_DEFAULT_RETRY      (60 * 60 * 2)
-#define SDB_DEFAULT_EXPIRE     (60 * 60 * 24 * 7)
-#define SDB_DEFAULT_MINIMUM    (60 * 60 * 24)
+#define SDB_DEFAULT_REFRESH    28800U          /* 8 hours */
+#define SDB_DEFAULT_RETRY      7200U           /* 2 hours */
+#define SDB_DEFAULT_EXPIRE     604800U         /* 7 days */
+#define SDB_DEFAULT_MINIMUM    86400U          /* 1 day */
 
 /* This is a reasonable value */
 #define SDB_DEFAULT_TTL                (60 * 60 * 24)
index fe7a514aca612ebaf4b18b883c343c188f6649f6..060e5591109552e796354409bd27ccfde2927431 100644 (file)
 ./lib/dns/rpz.c                                        C       2011,2012,2013,2014,2015,2016,2017
 ./lib/dns/rriterator.c                         C       2009,2011,2012,2015,2016
 ./lib/dns/rrl.c                                        C       2012,2013,2014,2015,2016,2017
-./lib/dns/sdb.c                                        C       2000,2001,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017
+./lib/dns/sdb.c                                        C       2000,2001,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018
 ./lib/dns/sdlz.c                               C.PORTION       1999,2000,2001,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017
 ./lib/dns/soa.c                                        C       2000,2001,2004,2005,2007,2009,2016
 ./lib/dns/spnego.asn1                          X       2006