From 46042cb39725886e808df08aa7d4ca1d3fc0697b Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Wed, 21 Jul 2021 12:06:15 +0200 Subject: [PATCH] * Fix that ldns-read-zone and ldns_zone_new_frm_fp_l properly return the $INCLUDE not implemented error. --- Changelog | 2 ++ zone.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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;