]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
start abusing run-test19
authorMiek Gieben <miekg@NLnetLabs.nl>
Tue, 19 Apr 2005 11:39:02 +0000 (11:39 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Tue, 19 Apr 2005 11:39:02 +0000 (11:39 +0000)
SHOWSTOPPERS [new file with mode: 0644]
run-test19.c

diff --git a/SHOWSTOPPERS b/SHOWSTOPPERS
new file mode 100644 (file)
index 0000000..19c613f
--- /dev/null
@@ -0,0 +1,2 @@
+::0 is printed as ::
+       any ip6 addr with closing 0 is not printed correctly
index 50367003beddf9c7e675d46f2ea606308b62b717..a9558ba5ef6ca65da3f22429ce360376b6f6a79b 100644 (file)
@@ -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;
 }