mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
update copyright notice / whitespace
This commit is contained in:
parent
d20f0472df
commit
2bc4d454e1
4
CHANGES
4
CHANGES
@ -10,8 +10,8 @@
|
|||||||
automatically by converted to NZD databases.
|
automatically by converted to NZD databases.
|
||||||
To view the contents of an NZD or to roll back to
|
To view the contents of an NZD or to roll back to
|
||||||
NZF format, use "named-nzd2nzf". To disable
|
NZF format, use "named-nzd2nzf". To disable
|
||||||
this feature, use "configure --without-lmdb".
|
this feature, use "configure --without-lmdb".
|
||||||
[RT #39837]
|
[RT #39837]
|
||||||
|
|
||||||
4420. [func] nslookup now looks for AAAA as well as A by default.
|
4420. [func] nslookup now looks for AAAA as well as A by default.
|
||||||
[RT #40420]
|
[RT #40420]
|
||||||
|
@ -10597,7 +10597,7 @@ nzd_setkey(MDB_val *key, dns_name_t *name, char *namebuf, size_t buflen) {
|
|||||||
dns_fixedname_init(&fixed);
|
dns_fixedname_init(&fixed);
|
||||||
dns_name_downcase(name, dns_fixedname_name(&fixed), NULL);
|
dns_name_downcase(name, dns_fixedname_name(&fixed), NULL);
|
||||||
dns_name_format(dns_fixedname_name(&fixed), namebuf, buflen);
|
dns_name_format(dns_fixedname_name(&fixed), namebuf, buflen);
|
||||||
|
|
||||||
key->mv_data = namebuf;
|
key->mv_data = namebuf;
|
||||||
key->mv_size = strlen(namebuf);
|
key->mv_size = strlen(namebuf);
|
||||||
}
|
}
|
||||||
@ -10920,7 +10920,7 @@ migrate_nzf(dns_view_t *view) {
|
|||||||
*/
|
*/
|
||||||
strlcpy(tempname, view->new_zone_file, sizeof(tempname));
|
strlcpy(tempname, view->new_zone_file, sizeof(tempname));
|
||||||
if (strlen(tempname) < sizeof(tempname) - 1) {
|
if (strlen(tempname) < sizeof(tempname) - 1) {
|
||||||
strcat(tempname, "~");
|
strcat(tempname, "~");
|
||||||
isc_file_rename(view->new_zone_file, tempname);
|
isc_file_rename(view->new_zone_file, tempname);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -11585,12 +11585,12 @@ rmzone(isc_task_t *task, isc_event_t *event) {
|
|||||||
const cfg_obj_t *voptions =
|
const cfg_obj_t *voptions =
|
||||||
cfg_tuple_get(cfg->vconfig, "options");
|
cfg_tuple_get(cfg->vconfig, "options");
|
||||||
result = delete_zoneconf(view, cfg->conf_parser,
|
result = delete_zoneconf(view, cfg->conf_parser,
|
||||||
voptions,
|
voptions,
|
||||||
dns_zone_getorigin(zone),
|
dns_zone_getorigin(zone),
|
||||||
NULL);
|
NULL);
|
||||||
} else {
|
} else {
|
||||||
result = delete_zoneconf(view, cfg->conf_parser,
|
result = delete_zoneconf(view, cfg->conf_parser,
|
||||||
cfg->config,
|
cfg->config,
|
||||||
dns_zone_getorigin(zone),
|
dns_zone_getorigin(zone),
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
@ -485,7 +485,7 @@
|
|||||||
in a database, rather than in a flat "NZF" file. This
|
in a database, rather than in a flat "NZF" file. This
|
||||||
dramatically improves performance for
|
dramatically improves performance for
|
||||||
<command>rndc delzone</command> and
|
<command>rndc delzone</command> and
|
||||||
<command>rndc modzone</command>: deleting or changing
|
<command>rndc modzone</command>: deleting or changing
|
||||||
the contents of a database is much faster than rewriting
|
the contents of a database is much faster than rewriting
|
||||||
a text file.
|
a text file.
|
||||||
</para>
|
</para>
|
||||||
|
@ -872,7 +872,7 @@ catz_process_zones(dns_catz_zone_t *zone, dns_rdataset_t *value,
|
|||||||
REQUIRE(name != NULL);
|
REQUIRE(name != NULL);
|
||||||
|
|
||||||
if (value->rdclass != dns_rdataclass_in)
|
if (value->rdclass != dns_rdataclass_in)
|
||||||
return (ISC_R_FAILURE);
|
return (ISC_R_FAILURE);
|
||||||
|
|
||||||
if (name->labels == 0)
|
if (name->labels == 0)
|
||||||
return (ISC_R_FAILURE);
|
return (ISC_R_FAILURE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user