Ver Fonte

Se extiende a mensual la acumulación de bytes consumidos.

Maxi Schvindt há 6 anos atrás
pai
commit
04b20eeec9
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Command/CmtsInterfaceStatsCommand.php

+ 1 - 1
Command/CmtsInterfaceStatsCommand.php

@@ -217,7 +217,7 @@ class CmtsInterfaceStatsCommand extends BaseCmtsCommand
                 $sendData["{$subId}_inbandwidth_if_{$index}"] = "{$inBandwidth}|g";
                 $sendData["{$subId}_outbandwidth_if_{$index}"] = "{$outBandwidth}|g";
 
-                if(date("d",$t0) != date("d",$t1)) {
+                if(date("n",$t0) != date("n",$t1)) {
                     $inAcc = $outAcc = 0;
                 }