From a26cd37ae53979d9b52a693356097a866aa94eb7 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Mon, 22 Jun 2009 21:17:16 +0000 Subject: 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 --- pjnath/src/pjnath-test/ice_test.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pjnath') 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; } -- cgit v1.2.3