mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Correctly find Received Bytes
This commit is contained in:
parent
098caa1262
commit
2e8c97d421
@ -110,7 +110,7 @@ function DisplayDashboard(){
|
||||
$strRxPackets = $result[1];
|
||||
preg_match( '/TX packets:(\d+)/',$strWlan0,$result );
|
||||
$strTxPackets = $result[1];
|
||||
preg_match( '//RX bytes:(\d+)/i',$strWlan0,$result );
|
||||
preg_match( '/RX bytes:(\d+ \(\d+.\d+ [K|M|G]iB\))/i',$strWlan0,$result );
|
||||
$strRxBytes = $result[1];
|
||||
preg_match( '/TX Bytes:(\d+ \(\d+.\d+ [K|M|G]iB\))/i',$strWlan0,$result );
|
||||
$strTxBytes = $result[1];
|
||||
|
Loading…
Reference in New Issue
Block a user