Commit a88a7025 authored by Pekka Pessi's avatar Pekka Pessi

Disabling IPv6 resolving in nta test. Not reying in ICMP in nta test.

darcs-hash:20060228153937-65a35-9cc0198c9b43973d462b09b358c08467b8666d13.gz
parent 7047ce45
......@@ -67,7 +67,8 @@ port=$(./portbind $v6flag $((port + 1))) down=$port
port=$(./portbind $v6flag $((port + 1))) bind=$port
port=$(./portbind $v6flag $((port + 1))) contact=$port
if eval $ipv6 ; then
# Disable IPv6 resolver for now
if false && eval $ipv6 ; then
listen="listen-on-v6 port $bind { any; };"
ns=$me6
else
......
......@@ -1156,6 +1156,13 @@ int test_resolv(agent_t *ag, char const *resolv_conf)
BEGIN();
nta_agent_set_params(ag->ag_agent,
NTATAG_SIP_T1(8 * 25),
NTATAG_SIP_T1X64(64 * 25),
NTATAG_SIP_T4(10 * 25),
TAG_END());
TEST_1(v = nta_agent_via(ag->ag_agent));
for (; v; v = v->v_next) {
if (strcasecmp(v->v_protocol, sip_transport_udp) == 0)
......@@ -1255,6 +1262,7 @@ int test_resolv(agent_t *ag, char const *resolv_conf)
TEST(ag->ag_status, 200);
TEST(ag->ag_orq, NULL);
TEST(ag->ag_latest_leg, ag->ag_default_leg);
}
{
......@@ -1499,8 +1507,6 @@ int test_resolv(agent_t *ag, char const *resolv_conf)
url->url_params = NULL;
}
return 0;
#if 0
/* Test 0.1.1
* Send a message from Bob to Alice using SIGCOMP and TCP
......@@ -1855,6 +1861,13 @@ int test_resolv(agent_t *ag, char const *resolv_conf)
}
#endif
nta_agent_set_params(ag->ag_agent,
NTATAG_SIP_T1(500),
NTATAG_SIP_T1X64(64 * 500),
NTATAG_SIP_T2(NTA_SIP_T2),
NTATAG_SIP_T4(NTA_SIP_T4),
TAG_END());
END();
}
......
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