Changeset 2785 for pjproject/trunk/pjnath/src/pjnath-test/ice_test.c
- Timestamp:
- Jun 23, 2009 12:08:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath-test/ice_test.c
r2784 r2785 513 513 if (rc != PJ_SUCCESS) { 514 514 destroy_sess(sess, 500); 515 if (rc == PJ_ETOOMANY) {516 /* Ignore this, probably the host has too many interfaces */517 PJ_LOG(3,("", " The previous error was ignored"));518 return 0;519 }520 515 return -120; 521 516 } … … 678 673 goto on_return; 679 674 680 cfg.ua1.comp_cnt = 4;681 cfg.ua2.comp_cnt = 4;682 rc = perform_test("Basic with host candidates, 4components",675 cfg.ua1.comp_cnt = 2; 676 cfg.ua2.comp_cnt = 2; 677 rc = perform_test("Basic with host candidates, 2 components", 683 678 &stun_cfg, cfg.server_flag, 684 679 &cfg.ua1, &cfg.ua2); … … 703 698 goto on_return; 704 699 705 cfg.ua1.comp_cnt = 4;706 cfg.ua2.comp_cnt = 4;707 708 rc = perform_test("Basic with srflx candidates, 4components",700 cfg.ua1.comp_cnt = 2; 701 cfg.ua2.comp_cnt = 2; 702 703 rc = perform_test("Basic with srflx candidates, 2 components", 709 704 &stun_cfg, cfg.server_flag, 710 705 &cfg.ua1, &cfg.ua2); … … 729 724 goto on_return; 730 725 731 cfg.ua1.comp_cnt = 4;732 cfg.ua2.comp_cnt = 4;733 734 rc = perform_test("Basic with relay candidates, 4components",726 cfg.ua1.comp_cnt = 2; 727 cfg.ua2.comp_cnt = 2; 728 729 rc = perform_test("Basic with relay candidates, 2 components", 735 730 &stun_cfg, cfg.server_flag, 736 731 &cfg.ua1, &cfg.ua2); … … 772 767 0xFFFF, 773 768 /* Role comp# host? stun? turn? flag? ans_del snd_del des_del */ 774 {ROLE1, 4, NO, NO, YES, WRONG_TURN, 0, 0, 0, {PJ_STATUS_FROM_STUN_CODE(401), -1}},775 {ROLE2, 4, NO, NO, YES, WRONG_TURN, 0, 0, 0, {PJ_STATUS_FROM_STUN_CODE(401), -1}}769 {ROLE1, 2, NO, NO, YES, WRONG_TURN, 0, 0, 0, {PJ_STATUS_FROM_STUN_CODE(401), -1}}, 770 {ROLE2, 2, NO, NO, YES, WRONG_TURN, 0, 0, 0, {PJ_STATUS_FROM_STUN_CODE(401), -1}} 776 771 }; 777 772
Note: See TracChangeset
for help on using the changeset viewer.