Projet

Général

Profil

« Précédent | Suivant » 

Révision 8105ffa6

Ajouté par Renato Botelho il y a plus de 9 ans

Fix logic to find available next number for limiters and queues. It fixes #3998

Voir les différences:

etc/inc/shaper.inc
4409 4409
	$found = false;
4410 4410
	foreach ($dnused as $dnnum) {
4411 4411
		if (($dnnum - $dnnumber) > 1) {
4412
			$dnnumber = $dnnum + 1;
4412
			$dnnumber = $dnnum - 1;
4413 4413
			$found = true;
4414 4414
			break;
4415 4415
		} else
......
4435 4435
	$found = false;
4436 4436
	foreach ($dnused as $dnnum) {
4437 4437
		if (($dnnum - $dnnumber) > 1) {
4438
			$dnnumber = $dnnum + 1;
4438
			$dnnumber = $dnnum - 1;
4439 4439
			$found = true;
4440 4440
			break;
4441 4441
		} else

Formats disponibles : Unified diff