Tue Jun 23 10:01:36 CDT 2009 Pekka Pessi <first.last@nokia.com>

* check_sres_sip: fixed records used in check_cname



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13916 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-06-23 19:44:54 +00:00
parent e92f8e4657
commit 40ce9aeac4
2 changed files with 13 additions and 10 deletions

View File

@ -1 +1 @@
Tue Jun 23 14:43:15 CDT 2009
Tue Jun 23 14:44:02 CDT 2009

View File

@ -421,25 +421,28 @@ START_TEST(found_cname)
su_addrinfo_t const *ai;
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.",
"a", sres_type_a, "11.12.13.14",
NULL);
s2_dns_record("cname1.example.com.", sres_type_naptr,
"", sres_type_cname, "a.example.com.",
NULL);
s2_dns_record("cname1.example.com", sres_type_naptr,
s2_dns_record("cname1.example.com.", sres_type_aaaa,
"", sres_type_cname, "a.example.com.",
NULL);
s2_dns_record("cname1.example.com", sres_type_aaaa,
"", sres_type_cname, "a.example.com.",
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",
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.",
"test.example.com", sres_type_a, "11.12.13.14",
"test.example.com.", sres_type_a, "11.12.13.14",
NULL);
uri = (void *)"sip:cname1.example.com";