summaryrefslogtreecommitdiff
path: root/pjnath
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-06-22 21:17:16 +0000
committerBenny Prijono <bennylp@teluu.com>2009-06-22 21:17:16 +0000
commita26cd37ae53979d9b52a693356097a866aa94eb7 (patch)
treef9851fc89870918ba8631ca2b6d7d2917176bc56 /pjnath
parentfcc1371ceb07cd663bf77ccbfff6b12b4274c6f5 (diff)
Ticket #894: pjnath test failed on ICE test if the host has three or more network adapters
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2784 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath')
-rw-r--r--pjnath/src/pjnath-test/ice_test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pjnath/src/pjnath-test/ice_test.c b/pjnath/src/pjnath-test/ice_test.c
index 7603b402..6053d442 100644
--- a/pjnath/src/pjnath-test/ice_test.c
+++ b/pjnath/src/pjnath-test/ice_test.c
@@ -512,6 +512,11 @@ static int perform_test(const char *title,
rc = start_ice(&sess->callee, &sess->caller);
if (rc != PJ_SUCCESS) {
destroy_sess(sess, 500);
+ if (rc == PJ_ETOOMANY) {
+ /* Ignore this, probably the host has too many interfaces */
+ PJ_LOG(3,("", " The previous error was ignored"));
+ return 0;
+ }
return -120;
}