}
}
- if (grpsession[g].time_changed > config->grp_txrate_average_time)
+ //if (grpsession[g].time_changed > config->grp_txrate_average_time)
+ if (grpsession[g].time_changed > 1)
{
ltime_changed = grpsession[g].time_changed;
grpsession[g].time_changed = 1;
{
grpsession[g].sesslist[i].tx_rate = session[s2].coutgrp_delta/ltime_changed;
session[s2].coutgrp_delta = grpsession[g].sesslist[i].tx_rate;
- LOG(3, s2, session[s2].tunnel, "TX Rate: %d session weight: %d\n", grpsession[g].sesslist[i].tx_rate, grpsession[g].sesslist[i].weight);
+ //LOG(3, s2, session[s2].tunnel, "TX Rate: %d session weight: %d\n", grpsession[g].sesslist[i].tx_rate, grpsession[g].sesslist[i].weight);
}
if ( session[s2].ppp.phase > Establish &&