diff options
Diffstat (limited to 'appl/cmd')
| -rw-r--r-- | appl/cmd/ndb/dns.b | 4 |
1 files changed, 3 insertions, 1 deletions
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)){ |
