From d149e755fd0b961fe6f0710ae88e7b2fa1662310 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Tue, 21 May 2024 12:04:57 +0200 Subject: [PATCH] - Fix for parse end of forward-zone, stub-zone and view. --- doc/Changelog | 1 + util/configparser.y | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/Changelog b/doc/Changelog index ac5c03a13..b66edae81 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -3,6 +3,7 @@ ub_ctx_set_fwd. - Fix to print a parse error when config is read with no name for a forward-zone, stub-zone or view. + - Fix for parse end of forward-zone, stub-zone and view. 17 May 2024: Yorgos - Merge #1069: Fix unbound-control stdin commands for multi-process diff --git a/util/configparser.y b/util/configparser.y index 2e82da5d7..5f42126f7 100644 --- a/util/configparser.y +++ b/util/configparser.y @@ -357,7 +357,7 @@ stubstart: VAR_STUB_ZONE } } ; -contents_stub: contents_stub content_stub +contents_stub: content_stub contents_stub | { /* stub end */ @@ -382,7 +382,7 @@ forwardstart: VAR_FORWARD_ZONE } } ; -contents_forward: contents_forward content_forward +contents_forward: content_forward contents_forward | { /* forward end */ @@ -407,7 +407,7 @@ viewstart: VAR_VIEW } } ; -contents_view: contents_view content_view +contents_view: content_view contents_view | { /* view end */ -- 2.47.2