This commit is contained in:
Mark Andrews 2017-11-23 16:09:27 +11:00
parent ba613d22bf
commit 78e1d7cdde
2 changed files with 3 additions and 3 deletions

View file

@ -6016,7 +6016,7 @@ configure_zone(const cfg_obj_t *config, const cfg_obj_t *zconfig,
* Add the zone to its view in the new view list.
*/
if (!modify)
CHECK(dns_view_addzone(view, zone));
CHECK(dns_view_addzone(view, zone));
if (zone_is_catz) {
/*

View file

@ -8279,7 +8279,7 @@ setservestalettl(dns_db_t *db, dns_ttl_t ttl) {
/* currently no bounds checking. 0 means disable. */
rbtdb->serve_stale_ttl = ttl;
return ISC_R_SUCCESS;
return (ISC_R_SUCCESS);
}
static isc_result_t
@ -8290,7 +8290,7 @@ getservestalettl(dns_db_t *db, dns_ttl_t *ttl) {
REQUIRE(IS_CACHE(rbtdb));
*ttl = rbtdb->serve_stale_ttl;
return ISC_R_SUCCESS;
return (ISC_R_SUCCESS);
}