Skip to content
Snippets Groups Projects
Commit 18e97d8f authored by Marek Vavruša's avatar Marek Vavruša
Browse files

lib/zonecut: check if the label hopping failed

parent b0641d95
Branches
Tags
No related merge requests found
......@@ -327,7 +327,7 @@ int kr_zonecut_find_cached(struct kr_context *ctx, struct kr_zonecut *cut, const
}
/* Start at QNAME parent. */
while (txn) {
while (txn && name) {
if (fetch_ns(ctx, cut, name, txn, timestamp) == 0) {
update_cut_name(cut, name);
return kr_ok();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment