Pretty print "bad_dns" list with constant names

This commit is contained in:
Willem Toorop 2015-12-31 12:40:20 +01:00
parent 03425d192d
commit f0bd64d57a
1 changed files with 2 additions and 1 deletions

View File

@ -1058,7 +1058,8 @@ getdns_pp_dict(gldns_buffer * buf, size_t indent,
return -1;
if (getdns_pp_list(buf, indent, item->i.data.list,
(strcmp(item->node.key, "namespaces") == 0 ||
strcmp(item->node.key, "dns_transport_list") == 0),
strcmp(item->node.key, "dns_transport_list") == 0
|| strcmp(item->node.key, "bad_dns") == 0),
json) < 0)
return -1;
break;