mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Adjust netstat output here too
This commit is contained in:
parent
e1c931ce4d
commit
d24b2daefb
@ -58,9 +58,9 @@
|
||||
$linkinfo = preg_split("/\s+/", $linkinfo[1]);
|
||||
if (preg_match("/^enc|^tun|^pppoe|^pptp/i", $realif)) {
|
||||
$ifinfo['inpkts'] = $linkinfo[3];
|
||||
$ifinfo['inbytes'] = $linkinfo[5];
|
||||
$ifinfo['outpkts'] = $linkinfo[6];
|
||||
$ifinfo['outbytes'] = $linkinfo[8];
|
||||
$ifinfo['inbytes'] = $linkinfo[6];
|
||||
$ifinfo['outpkts'] = $linkinfo[7];
|
||||
$ifinfo['outbytes'] = $linkinfo[9];
|
||||
} else {
|
||||
$ifinfo['inpkts'] = $linkinfo[4];
|
||||
$ifinfo['inbytes'] = $linkinfo[7];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user