Révision 89cf3dc0
Ajouté par Renato Botelho il y a plus de 9 ans
- ID 89cf3dc0b6958322974d40fd1111ef276174053e
- Parent 340ce958
etc/inc/shaper.inc | ||
---|---|---|
4430 | 4430 |
$found = false; |
4431 | 4431 |
foreach ($dnused as $dnnum) { |
4432 | 4432 |
if (($dnnum - $dnnumber) > 1) { |
4433 |
$dnnumber = $dnnum + 1;
|
|
4433 |
$dnnumber = $dnnum - 1;
|
|
4434 | 4434 |
$found = true; |
4435 | 4435 |
break; |
4436 | 4436 |
} else |
... | ... | |
4456 | 4456 |
$found = false; |
4457 | 4457 |
foreach ($dnused as $dnnum) { |
4458 | 4458 |
if (($dnnum - $dnnumber) > 1) { |
4459 |
$dnnumber = $dnnum + 1;
|
|
4459 |
$dnnumber = $dnnum - 1;
|
|
4460 | 4460 |
$found = true; |
4461 | 4461 |
break; |
4462 | 4462 |
} else |
Formats disponibles : Unified diff
Fix logic to find available next number for limiters and queues. It fixes #3998