From: Miek Gieben Date: Tue, 19 Apr 2005 11:39:02 +0000 (+0000) Subject: start abusing run-test19 X-Git-Tag: release-0.50~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aecf879d94dcbd57f48eb2cc0a40e6db51475c53;p=thirdparty%2Fldns.git start abusing run-test19 --- diff --git a/SHOWSTOPPERS b/SHOWSTOPPERS new file mode 100644 index 00000000..19c613f6 --- /dev/null +++ b/SHOWSTOPPERS @@ -0,0 +1,2 @@ +::0 is printed as :: + any ip6 addr with closing 0 is not printed correctly diff --git a/run-test19.c b/run-test19.c index 50367003..a9558ba5 100644 --- a/run-test19.c +++ b/run-test19.c @@ -18,12 +18,17 @@ int main() { ldns_resolver *r; + ldns_rdf *aaaa; r = ldns_resolver_new_frm_file(NULL); if (!r) { printf("something wrong?\n"); } + aaaa = ldns_rdf_new_frm_str(LDNS_RDF_TYPE_AAAA, "::0"); + ldns_rdf_print(stdout, aaaa); + printf("\n\n"); + ldns_resolver_print(stdout, r); return 0; }