diff --git a/lib/zonecut.c b/lib/zonecut.c index a2e0d58a0aacb1e0c0eaec1bfa85473e1ba9c4c4..f1427cce6ec5f51f738fe57cffbafb6720f05fba 100644 --- a/lib/zonecut.c +++ b/lib/zonecut.c @@ -294,6 +294,9 @@ int kr_zonecut_set_sbelt(struct kr_context *ctx, struct kr_zonecut *cut) /* Copy root hints from resolution context. */ if (ctx->root_hints.nsset.root) { int ret = kr_zonecut_copy(cut, &ctx->root_hints); + if (ret == 0) { + ret = kr_zonecut_copy_trust(cut, &ctx->root_hints); + } if (ret == 0) { return ret; }