summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/shaper.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc
index f4eed16..9d60577 100644
--- a/etc/inc/shaper.inc
+++ b/etc/inc/shaper.inc
@@ -4409,7 +4409,7 @@ function dnqueue_find_nextnumber() {
$found = false;
foreach ($dnused as $dnnum) {
if (($dnnum - $dnnumber) > 1) {
- $dnnumber = $dnnum + 1;
+ $dnnumber = $dnnum - 1;
$found = true;
break;
} else
@@ -4435,7 +4435,7 @@ function dnpipe_find_nextnumber() {
$found = false;
foreach ($dnused as $dnnum) {
if (($dnnum - $dnnumber) > 1) {
- $dnnumber = $dnnum + 1;
+ $dnnumber = $dnnum - 1;
$found = true;
break;
} else
OpenPOWER on IntegriCloud