From 391d765240102912794d2a73ff2e00027505a2e9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 10 Oct 2018 09:21:07 +0200 Subject: [PATCH] now this should work... --- src/namestore/plugin_namestore_flat.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/namestore/plugin_namestore_flat.c b/src/namestore/plugin_namestore_flat.c index edfd3ec6a..4873f6e51 100644 --- a/src/namestore/plugin_namestore_flat.c +++ b/src/namestore/plugin_namestore_flat.c @@ -607,7 +607,9 @@ iterate_zones (void *cls, } ic->iter (ic->iter_cls, ic->pos, - ic->zone, + (NULL == ic->zone) + ? &entry->private_key + : ic->zone, entry->label, entry->record_count, entry->record_data); -- 2.25.1