提交 40ce9aea authored 作者: Michael Jerris's avatar Michael Jerris

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
上级 e92f8e46
Tue Jun 23 14:43:15 CDT 2009
Tue Jun 23 14:44:02 CDT 2009
......@@ -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,
s2_dns_record("cname1.example.com.", sres_type_naptr,
"", sres_type_cname, "a.example.com.",
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.",
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";
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论