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 80471f5..84c8e24 100644
--- a/etc/inc/shaper.inc
+++ b/etc/inc/shaper.inc
@@ -4430,7 +4430,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
@@ -4456,7 +4456,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