[Phpsysinfo-subversion] SF.net SVN: phpsysinfo:[585] trunk
Brought to you by:
namiltd
From: <na...@us...> - 2012-06-04 09:51:36
|
Revision: 585 http://phpsysinfo.svn.sourceforge.net/phpsysinfo/?rev=585&view=rev Author: namiltd Date: 2012-06-04 09:51:24 +0000 (Mon, 04 Jun 2012) Log Message: ----------- Modified Paths: -------------- trunk/ChangeLog trunk/includes/os/class.WINNT.inc.php Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2012-06-04 09:32:35 UTC (rev 584) +++ trunk/ChangeLog 2012-06-04 09:51:24 UTC (rev 585) @@ -6,6 +6,7 @@ - [ADD] Setting the logo for different versions of Windows including Windows2000/XP/Vista/7/8 - [Fix] Fixed Bug [ 3526949 ] Listening IP shows blank if USE_VHOST = true (thanks to NHellFire) + - [Fix] Temporary patch for network statistics on Windows phpSysInfo 3.0.17 Modified: trunk/includes/os/class.WINNT.inc.php =================================================================== --- trunk/includes/os/class.WINNT.inc.php 2012-06-04 09:32:35 UTC (rev 584) +++ trunk/includes/os/class.WINNT.inc.php 2012-06-04 09:51:24 UTC (rev 585) @@ -374,12 +374,12 @@ $txbytes += 4294967296; $rxbytes += 4294967296; } elseif ($txbytes < 0) { - if ($device['BytesTotalPersec'] >= $rxbytes) + if ($device['BytesTotalPersec'] > $rxbytes) $txbytes = $device['BytesTotalPersec'] - $rxbytes; else $txbytes += 4294967296; } elseif ($rxbytes < 0) { - if ($device['BytesTotalPersec'] >= $txbytes) + if ($device['BytesTotalPersec'] > $txbytes) $rxbytes = $device['BytesTotalPersec'] - $txbytes; else $rxbytes += 4294967296; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |