mirror of
https://github.com/hufrea/byedpi.git
synced 2025-06-29 18:21:14 +00:00
Increase counter after swop
This commit is contained in:
parent
a3a98c72f6
commit
ed76be1dad
9
extend.c
9
extend.c
@ -339,12 +339,13 @@ static int on_trigger(int type, struct poolhd *pool, struct eval *val)
|
|||||||
lav->dp_mask |= dp->bit;
|
lav->dp_mask |= dp->bit;
|
||||||
}
|
}
|
||||||
if ((params.auto_level & AUTO_SORT)
|
if ((params.auto_level & AUTO_SORT)
|
||||||
&& !(lav->dp->bit & (cache->dp_mask | uncheked)))
|
&& !(lav->dp->bit & cache->dp_mask))
|
||||||
{
|
{
|
||||||
if (next && lav->dp->pri > next->pri)
|
if (next && lav->dp->pri > next->pri
|
||||||
|
&& !(lav->dp->bit & uncheked)) {
|
||||||
swop_groups(lav->dp, next);
|
swop_groups(lav->dp, next);
|
||||||
else
|
}
|
||||||
lav->dp->pri++;
|
lav->dp->pri++;
|
||||||
}
|
}
|
||||||
if (!next) {
|
if (!next) {
|
||||||
LOG(LOG_S, "unreach ip: %s\n", ADDR_STR);
|
LOG(LOG_S, "unreach ip: %s\n", ADDR_STR);
|
||||||
|
Loading…
Reference in New Issue
Block a user