From: W.C.A. Wijngaards Date: Wed, 21 Jul 2021 10:06:15 +0000 (+0200) Subject: * Fix that ldns-read-zone and ldns_zone_new_frm_fp_l properly return X-Git-Tag: 1.8.0-rc.1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46042cb39725886e808df08aa7d4ca1d3fc0697b;p=thirdparty%2Fldns.git * Fix that ldns-read-zone and ldns_zone_new_frm_fp_l properly return the $INCLUDE not implemented error. --- diff --git a/Changelog b/Changelog index 03f86de2..2eac649e 100644 --- a/Changelog +++ b/Changelog @@ -26,6 +26,8 @@ LDNS_MAX_LINELEN * Add SVCPARAMS to python ldns_rdf_type2str function. * PR #134 Miscellaneous spelling fixes. Thanks jsoref! + * Fix that ldns-read-zone and ldns_zone_new_frm_fp_l properly return + the $INCLUDE not implemented error. 1.7.1 2019-07-26 * bugfix: Manage verification paths for OpenSSL >= 1.1.0 diff --git a/zone.c b/zone.c index fcae4112..00b559bf 100644 --- a/zone.c +++ b/zone.c @@ -261,7 +261,7 @@ ldns_zone_new_frm_fp_l(ldns_zone **z, FILE *fp, const ldns_rdf *origin, uint32_t break; case LDNS_STATUS_SYNTAX_INCLUDE: ret = LDNS_STATUS_SYNTAX_INCLUDE_ERR_NOTIMPL; - break; + goto error; default: ret = s; goto error;