diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-06-22 21:17:16 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-06-22 21:17:16 +0000 |
commit | a26cd37ae53979d9b52a693356097a866aa94eb7 (patch) | |
tree | f9851fc89870918ba8631ca2b6d7d2917176bc56 /pjnath/src/pjnath-test | |
parent | fcc1371ceb07cd663bf77ccbfff6b12b4274c6f5 (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/src/pjnath-test')
-rw-r--r-- | pjnath/src/pjnath-test/ice_test.c | 5 |
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; } |