Commit 27e148b2 authored by Pekka Pessi's avatar Pekka Pessi

torture_sip.c: port number is not used with .invalid domain in Contact anymore

darcs-hash:20070402092733-65a35-a1558ba98391f969022676a0bb9ac24a8b76973f.gz
parent d1cc59de
...@@ -516,7 +516,7 @@ int test_basic(void) ...@@ -516,7 +516,7 @@ int test_basic(void)
v = sip_via_make(home, "SIP/2.0/UDP domain.invalid:5060"); TEST_1(v); v = sip_via_make(home, "SIP/2.0/UDP domain.invalid:5060"); TEST_1(v);
s = sip_contact_string_from_via(home, v, NULL, v->v_protocol); s = sip_contact_string_from_via(home, v, NULL, v->v_protocol);
TEST_S(s, "<sip:domain.invalid:5060;transport=udp>"); TEST_S(s, "<sip:domain.invalid;transport=udp>");
su_free(home, v), su_free(home, s); su_free(home, v), su_free(home, s);
TEST_1(sip_transport_has_tls("SIP/2.0/TLS-SCTP")); TEST_1(sip_transport_has_tls("SIP/2.0/TLS-SCTP"));
......
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