summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-03-18 18:56:25 +0000
committerBenny Prijono <bennylp@teluu.com>2009-03-18 18:56:25 +0000
commit281b19b2cba80324c608007b4209addc3150d8e3 (patch)
tree55cbc21a56fc3c0762145e0160349daa677064b9
parentd92755d533d96ca33e2b02762bbbbbce3cf31dd6 (diff)
Failed in pjnath-test due to ticket #742
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2523 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjnath/src/pjnath-test/stun_sock_test.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/pjnath/src/pjnath-test/stun_sock_test.c b/pjnath/src/pjnath-test/stun_sock_test.c
index 2e1a6a1e..d867a6bb 100644
--- a/pjnath/src/pjnath-test/stun_sock_test.c
+++ b/pjnath/src/pjnath-test/stun_sock_test.c
@@ -627,12 +627,16 @@ static int keep_alive_test(pj_stun_config *cfg)
/* Check that client status is still okay and on_status() callback is NOT
* called
*/
+ /* No longer valid due to this ticket:
+ * http://trac.pjsip.org/repos/ticket/742
+
if (client->on_status_cnt != 0) {
PJ_LOG(3, (THIS_FILE, " error: on_status() must not be called on successful"
"keep-alive when mapped-address does not change"));
ret = -430;
goto on_return;
}
+ */
/* Check that client doesn't receive anything */
if (client->on_rx_data_cnt != 0) {
PJ_LOG(3,(THIS_FILE, " error: client shouldn't have received anything"));
@@ -686,7 +690,7 @@ static int keep_alive_test(pj_stun_config *cfg)
goto on_return;
}
/* Check that callback was called with correct operation */
- if (client->last_op != PJ_STUN_SOCK_KEEP_ALIVE_OP) {
+ if (client->last_op != PJ_STUN_SOCK_MAPPED_ADDR_CHANGE) {
PJ_LOG(3,(THIS_FILE, " error: expecting keep-alive operation status"));
ret = -470;
goto on_return;