summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2010-01-29 00:11:40 -0500
committerjim-p <jim@pingle.org>2010-01-29 00:11:40 -0500
commit3a92b286014cca8354add94fcbe2f135a807ff52 (patch)
tree55e4203fcdf846582c29068ae2c47beab2b5cd5e /etc/inc/pfsense-utils.inc
parentf95e0cefc3cf61b1456fb26abcd362f0eaa9115a (diff)
downloadpfsense-3a92b286014cca8354add94fcbe2f135a807ff52.zip
pfsense-3a92b286014cca8354add94fcbe2f135a807ff52.tar.gz
Fix output errors and collisions counters. The output of netstat added a column so they were using the wrong data.
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 1d10913..3cd99e2 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1211,8 +1211,8 @@ function get_interface_info($ifdescr) {
} else {
$ifinfo['macaddr'] = $linkinfo[3];
$ifinfo['inerrs'] = $linkinfo[5];
- $ifinfo['outerrs'] = $linkinfo[8];
- $ifinfo['collisions'] = $linkinfo[10];
+ $ifinfo['outerrs'] = $linkinfo[9];
+ $ifinfo['collisions'] = $linkinfo[11];
}
/* Use pfctl for non wrapping 64 bit counters */
OpenPOWER on IntegriCloud