From 7e479951464b9bb71e87aeef19d908e9fb9be494 Mon Sep 17 00:00:00 2001 From: charles forsyth Date: Thu, 1 May 2014 12:08:59 +0100 Subject: 20140501-1208 --- appl/cmd/ndb/dns.b | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'appl/cmd/ndb/dns.b') diff --git a/appl/cmd/ndb/dns.b b/appl/cmd/ndb/dns.b index 0cd7957c..2fb7ab35 100644 --- a/appl/cmd/ndb/dns.b +++ b/appl/cmd/ndb/dns.b @@ -1141,7 +1141,9 @@ Step1: ttl += now; else ttl = now+10*60; - cachec <-= (ref RR.Error(label, attr, Cin, ttl, auth, "resource does not exist")::soa::nil, auth); + if(soa != nil) + l := soa :: nil; + cachec <-= (ref RR.Error(label, attr, Cin, ttl, auth, "resource does not exist")::l, auth); return (nil, "resource does not exist"); } if(isdelegation(dm)){ -- cgit v1.2.3