- Fix compile on Solaris for unbound-checkconf.

This commit is contained in:
W.C.A. Wijngaards 2020-03-23 17:26:06 +01:00
parent ce7fd591c6
commit cca5cfc88f
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
23 March 2020: Wouter
- Fix compile on Solaris for unbound-checkconf.
20 March 2020: George
- Merge PR #198 from fobser: Declare lz_enter_rr_into_zone() static, it's
only used in this file.

View file

@ -705,7 +705,7 @@ check_auth(struct config_file* cfg)
{
int is_rpz = 0;
struct auth_zones* az = auth_zones_create();
if(!az || !auth_zones_apply_cfg(az, cfg, 0i, &is_rpz)) {
if(!az || !auth_zones_apply_cfg(az, cfg, 0, &is_rpz)) {
fatal_exit("Could not setup authority zones");
}
auth_zones_delete(az);