2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

libdns refactoring: get rid of multiple versions of dns_zone_setfile, dns_zone_notifyreceive, dns_zone_dumptostream, dns_zone_getserial

This commit is contained in:
Witold Kręcicki
2018-04-03 16:34:41 +02:00
parent 42ee8c853a
commit 7dbc6768d6
12 changed files with 58 additions and 138 deletions

View File

@@ -471,7 +471,8 @@ ns_test_serve_zone(const char *zonename, const char *filename,
/*
* Set path to the master file for the zone and then load it.
*/
dns_zone_setfile(served_zone, filename);
dns_zone_setfile(served_zone, filename, dns_masterformat_text,
&dns_master_style_default);
result = dns_zone_load(served_zone);
if (result != ISC_R_SUCCESS) {
goto release_zone;