]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix unbound-host to report error for DNSSEC state of failed lookups.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 15 Sep 2017 14:11:43 +0000 (14:11 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 15 Sep 2017 14:11:43 +0000 (14:11 +0000)
git-svn-id: file:///svn/unbound/trunk@4343 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
smallapp/unbound-host.c

index 39a3a2b7f4aa39b1d5a560d8761944d4e233c829..c8321588d6fbb52b1b6ebe504c3de9b38bd981f2 100644 (file)
@@ -1,3 +1,6 @@
+15 September 2017: Wouter
+       - Fix unbound-host to report error for DNSSEC state of failed lookups.
+
 13 September 2017: Wouter
        - tag 1.6.6rc2
 
index d7a36a23193e6f79006be23daf5df82d4c043195..93b5e48700117a0eb35fa317f4d444d98f42be31 100644 (file)
@@ -209,6 +209,7 @@ massage_class(const char* c)
 static const char* 
 secure_str(struct ub_result* result)
 {
+       if(result->rcode != 0 && result->rcode != 3) return "(error)";
        if(result->secure) return "(secure)";
        if(result->bogus) return "(BOGUS (security failure))";
        return "(insecure)";