mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 23:55:27 +00:00
soacount and nscount are gone
This commit is contained in:
@@ -59,8 +59,6 @@ main(int argc, char *argv[]) {
|
|||||||
isc_buffer_t source;
|
isc_buffer_t source;
|
||||||
isc_buffer_t target;
|
isc_buffer_t target;
|
||||||
unsigned char name_buf[255];
|
unsigned char name_buf[255];
|
||||||
int soacount = 0;
|
|
||||||
int nscount = 0;
|
|
||||||
dns_rdatacallbacks_t callbacks;
|
dns_rdatacallbacks_t callbacks;
|
||||||
|
|
||||||
UNUSED(argc);
|
UNUSED(argc);
|
||||||
@@ -86,13 +84,9 @@ main(int argc, char *argv[]) {
|
|||||||
|
|
||||||
result = dns_master_loadfile(argv[1], &origin, &origin, 1,
|
result = dns_master_loadfile(argv[1], &origin, &origin, 1,
|
||||||
ISC_FALSE,
|
ISC_FALSE,
|
||||||
&soacount, &nscount,
|
|
||||||
&callbacks, mctx);
|
&callbacks, mctx);
|
||||||
fprintf(stdout, "dns_master_loadfile: %s\n",
|
fprintf(stdout, "dns_master_loadfile: %s\n",
|
||||||
dns_result_totext(result));
|
dns_result_totext(result));
|
||||||
if (result == ISC_R_SUCCESS)
|
|
||||||
fprintf(stdout, "soacount = %d, nscount = %d\n",
|
|
||||||
soacount, nscount);
|
|
||||||
}
|
}
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user