| |
@@ -1317,8 +1317,7 @@
|
| |
dns_zone_logc(zone, DNS_LOGCATEGORY_SECURITY, ISC_LOG_CRITICAL,
|
| |
"cannot configure restrictive %s policy: %s",
|
| |
type_txt, isc_result_totext(result2));
|
| |
- FATAL_ERROR(__FILE__, __LINE__,
|
| |
- "insecure state detected");
|
| |
+ fatal_error("insecure state detected");
|
| |
}
|
| |
}
|
| |
acl_setter(zone, acl);
|
| |
@@ -1365,8 +1364,7 @@
|
| |
dns_zone_logc(zone, DNS_LOGCATEGORY_SECURITY, ISC_LOG_CRITICAL,
|
| |
"cannot disable all updates: %s",
|
| |
isc_result_totext(result2));
|
| |
- FATAL_ERROR(__FILE__, __LINE__,
|
| |
- "insecure state detected");
|
| |
+ fatal_error("insecure state detected");
|
| |
}
|
| |
}
|
| |
|
| |
@@ -2951,9 +2949,8 @@
|
| |
ldap_inst);
|
| |
break;
|
| |
case AUTH_INVALID:
|
| |
- UNEXPECTED_ERROR(__FILE__, __LINE__,
|
| |
- "invalid auth_method_enum value %u",
|
| |
- auth_method_enum);
|
| |
+ DYNDB_UNEXPECTED_ERROR("invalid auth_method_enum value %u",
|
| |
+ auth_method_enum);
|
| |
break;
|
| |
|
| |
default:
|
| |
@@ -3782,8 +3779,7 @@
|
| |
else if (entry->class & LDAP_ENTRYCLASS_FORWARD)
|
| |
CHECK(ldap_parse_fwd_zoneentry(entry, inst));
|
| |
else
|
| |
- FATAL_ERROR(__FILE__, __LINE__,
|
| |
- "update_zone: unexpected entry class");
|
| |
+ fatal_error("update_zone: unexpected entry class");
|
| |
}
|
| |
|
| |
cleanup:
|
| |
Bind headers changed isc_error_fatal function. Also UNEXPECTED_ERROR
from util.h has changed function signature. Use a conditional
to provide compatibility for both new and previous versions.