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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user