Commit 4411f4e5 authored by Pekka Pessi's avatar Pekka Pessi

check_sres_sip: fixed records used in check_cname

Ignore-this: d0af90db70280b7c08d885149c12b501

darcs-hash:20090623150136-db55f-d4f4abda5cf91e0c650c04c727c9dd04c3f22265.gz
parent dd588db5
...@@ -421,25 +421,28 @@ START_TEST(found_cname) ...@@ -421,25 +421,28 @@ START_TEST(found_cname)
su_addrinfo_t const *ai; su_addrinfo_t const *ai;
url_string_t *uri; url_string_t *uri;
s2_dns_record("cname1.example.com", sres_type_a, s2_dns_default("example.com.");
s2_dns_record("cname1.example.com.", sres_type_a,
"", sres_type_cname, "a.example.com.", "", sres_type_cname, "a.example.com.",
"a", sres_type_a, "11.12.13.14",
NULL); NULL);
s2_dns_record("cname1.example.com", sres_type_naptr, s2_dns_record("cname1.example.com.", sres_type_naptr,
"", sres_type_cname, "a.example.com.", "", sres_type_cname, "a.example.com.",
NULL); NULL);
s2_dns_record("cname1.example.com", sres_type_aaaa, s2_dns_record("cname1.example.com.", sres_type_aaaa,
"", sres_type_cname, "a.example.com.", "", sres_type_cname, "a.example.com.",
NULL); NULL);
s2_dns_record("a.example.com", sres_type_a, s2_dns_record("a.example.com.", sres_type_a,
"", sres_type_a, "11.12.13.14", "", sres_type_a, "11.12.13.14",
NULL); NULL);
s2_dns_record("cname2.example.com", sres_type_a, s2_dns_record("cname2.example.com.", sres_type_a,
"", sres_type_cname, "a.example.com.", "", sres_type_cname, "a.example.com.",
"test.example.com", sres_type_a, "11.12.13.14", "test.example.com.", sres_type_a, "11.12.13.14",
NULL); NULL);
uri = (void *)"sip:cname1.example.com"; uri = (void *)"sip:cname1.example.com";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment