|
@@ 471-474 (lines=4) @@
|
| 468 |
|
$txbytes += 4294967296; |
| 469 |
|
$rxbytes += 4294967296; |
| 470 |
|
} elseif ($txbytes < 0) { |
| 471 |
|
if ($device['BytesTotalPersec'] > $rxbytes) |
| 472 |
|
$txbytes = $device['BytesTotalPersec'] - $rxbytes; |
| 473 |
|
else |
| 474 |
|
$txbytes += 4294967296; |
| 475 |
|
} elseif ($rxbytes < 0) { |
| 476 |
|
if ($device['BytesTotalPersec'] > $txbytes) |
| 477 |
|
$rxbytes = $device['BytesTotalPersec'] - $txbytes; |
|
@@ 476-479 (lines=4) @@
|
| 473 |
|
else |
| 474 |
|
$txbytes += 4294967296; |
| 475 |
|
} elseif ($rxbytes < 0) { |
| 476 |
|
if ($device['BytesTotalPersec'] > $txbytes) |
| 477 |
|
$rxbytes = $device['BytesTotalPersec'] - $txbytes; |
| 478 |
|
else |
| 479 |
|
$rxbytes += 4294967296; |
| 480 |
|
} |
| 481 |
|
$dev->setTxBytes($txbytes); |
| 482 |
|
$dev->setRxBytes($rxbytes); |