From: <cha...@us...> - 2008-11-18 15:16:31
|
Revision: 556 http://sipp.svn.sourceforge.net/sipp/?rev=556&view=rev Author: charlespwright Date: 2008-11-18 15:16:24 +0000 (Tue, 18 Nov 2008) Log Message: ----------- Fix: Correct bug in which UAS would not respect -m. Modified Paths: -------------- sipp/trunk/sipp.cpp Modified: sipp/trunk/sipp.cpp =================================================================== --- sipp/trunk/sipp.cpp 2008-10-30 17:47:55 UTC (rev 555) +++ sipp/trunk/sipp.cpp 2008-11-18 15:16:24 UTC (rev 556) @@ -3348,6 +3348,9 @@ sockets_pending_reset.erase(sockets_pending_reset.begin()); } + if ((main_scenario->stats->GetStat(CStat::CPT_C_IncomingCallCreated) + main_scenario->stats->GetStat(CStat::CPT_C_OutgoingCallCreated)) >= stop_after) { + quitting = 1; + } if (quitting) { if (quitting > 11) { /* Force exit: abort all calls */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |