Commit 65e86467 authored by Arne Øslebø's avatar Arne Øslebø
Browse files

fixed bitrate calculation

git-svn-id: file:///home/svn/mapi/trunk@889 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 4b17f9e0
......@@ -1598,19 +1598,19 @@ turnOnSpecialProcessing(np_ctxt_t *npctxt, u_int element) {
case FID_RATE_1SEC_MAX:
case FID_RATE_1SEC_MIN:
npctxt->bitrateCalcEnabled |= 1<<(BITRATE_1SEC+1);
npctxt->bitrateCalcEnabled |= 1;
break;
case FID_RATE_100MS_MAX:
case FID_RATE_100MS_MIN:
npctxt->bitrateCalcEnabled |= 1<<(BITRATE_100MS+1);
npctxt->bitrateCalcEnabled |= 2;
break;
case FID_RATE_10MS_MAX:
case FID_RATE_10MS_MIN:
npctxt->bitrateCalcEnabled |= 1<<(BITRATE_10MS+1);
npctxt->bitrateCalcEnabled |= 4;
break;
case FID_RATE_1MS_MAX:
case FID_RATE_1MS_MIN:
npctxt->bitrateCalcEnabled |= 1<<(BITRATE_1MS+1);
npctxt->bitrateCalcEnabled |= 8;
break;
case FID_VAR_PKT_DIST:
case FID_EXPVAL_PKT_DIST:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment