mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-22 06:37:42 -04:00
update copyright notice / whitespace
This commit is contained in:
parent
c23255316e
commit
e37bc34b31
6 changed files with 15 additions and 15 deletions
|
|
@ -42,12 +42,12 @@ zone "edns-expire" {
|
|||
};
|
||||
|
||||
zone "axfr-too-big" {
|
||||
type master;
|
||||
file "axfr-too-big.db";
|
||||
type master;
|
||||
file "axfr-too-big.db";
|
||||
};
|
||||
|
||||
zone "ixfr-too-big" {
|
||||
type master;
|
||||
type master;
|
||||
allow-update { any; };
|
||||
file "ixfr-too-big.db";
|
||||
file "ixfr-too-big.db";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1757,7 +1757,7 @@ check_zoneconf(const cfg_obj_t *zconfig, const cfg_obj_t *voptions,
|
|||
{ "masters", SLAVEZONE | STUBZONE | REDIRECTZONE },
|
||||
{ "max-ixfr-log-size", MASTERZONE | SLAVEZONE | STREDIRECTZONE },
|
||||
{ "max-records", MASTERZONE | SLAVEZONE | STUBZONE | STREDIRECTZONE |
|
||||
STATICSTUBZONE | REDIRECTZONE },
|
||||
STATICSTUBZONE | REDIRECTZONE },
|
||||
{ "max-refresh-time", SLAVEZONE | STUBZONE | STREDIRECTZONE },
|
||||
{ "max-retry-time", SLAVEZONE | STUBZONE | STREDIRECTZONE },
|
||||
{ "max-transfer-idle-in", SLAVEZONE | STUBZONE | STREDIRECTZONE },
|
||||
|
|
|
|||
|
|
@ -1505,7 +1505,7 @@ dns_db_getnsec3parameters(dns_db_t *db, dns_dbversion_t *version,
|
|||
|
||||
isc_result_t
|
||||
dns_db_getsize(dns_db_t *db, dns_dbversion_t *version, isc_uint64_t *records,
|
||||
isc_uint64_t *bytes);
|
||||
isc_uint64_t *bytes);
|
||||
/*%<
|
||||
* Get the number of records in the given version of the database as well
|
||||
* as the number bytes used to store those records.
|
||||
|
|
|
|||
|
|
@ -7984,7 +7984,7 @@ getnsec3parameters(dns_db_t *db, dns_dbversion_t *version, dns_hash_t *hash,
|
|||
|
||||
static isc_result_t
|
||||
getsize(dns_db_t *db, dns_dbversion_t *version, isc_uint64_t *records,
|
||||
isc_uint64_t *bytes)
|
||||
isc_uint64_t *bytes)
|
||||
{
|
||||
dns_rbtdb_t *rbtdb;
|
||||
isc_result_t result = ISC_R_SUCCESS;
|
||||
|
|
|
|||
|
|
@ -10218,14 +10218,14 @@ dns_zone_setmaxretrytime(dns_zone_t *zone, isc_uint32_t val) {
|
|||
|
||||
isc_uint32_t
|
||||
dns_zone_getmaxrecords(dns_zone_t *zone) {
|
||||
REQUIRE(DNS_ZONE_VALID(zone));
|
||||
REQUIRE(DNS_ZONE_VALID(zone));
|
||||
|
||||
return (zone->maxrecords);
|
||||
}
|
||||
|
||||
void
|
||||
dns_zone_setmaxrecords(dns_zone_t *zone, isc_uint32_t val) {
|
||||
REQUIRE(DNS_ZONE_VALID(zone));
|
||||
REQUIRE(DNS_ZONE_VALID(zone));
|
||||
|
||||
zone->maxrecords = val;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -109,12 +109,12 @@ isc_random_seed(isc_uint32_t seed) {
|
|||
arc4random_addrandom((u_char *) &seed, sizeof(isc_uint32_t));
|
||||
#else
|
||||
/*
|
||||
* If arcrandom() is available and no corresponding seeding
|
||||
* function arc4random_addrandom() is available, no seeding is
|
||||
* done on such platforms (e.g., OpenBSD 5.5). This is because
|
||||
* the OS itself is supposed to seed the RNG and it is assumed
|
||||
* that no explicit seeding is required.
|
||||
*/
|
||||
* If arcrandom() is available and no corresponding seeding
|
||||
* function arc4random_addrandom() is available, no seeding is
|
||||
* done on such platforms (e.g., OpenBSD 5.5). This is because
|
||||
* the OS itself is supposed to seed the RNG and it is assumed
|
||||
* that no explicit seeding is required.
|
||||
*/
|
||||
UNUSED(seed);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue