summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEvgeny Yurchenko <ey@tm-k.com>2011-07-22 08:27:46 -0400
committerEvgeny Yurchenko <ey@tm-k.com>2011-07-22 08:31:55 -0400
commitc8950140fde7a43a69871604833bb15e2dedc7b0 (patch)
tree1264723fa28a68dd949c1d9fe85f7fd4663763d3 /etc
parent6684d275d44eff77c4de1e927e566e45739748aa (diff)
downloadpfsense-c8950140fde7a43a69871604833bb15e2dedc7b0.zip
pfsense-c8950140fde7a43a69871604833bb15e2dedc7b0.tar.gz
Revert wrong fix of Bug #1711.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/captiveportal.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 06a709a..93f3642 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -1412,14 +1412,14 @@ function getVolume($ip) {
if ($ipfwin[0]) {
$ipfwin = split(" ", $ipfwin[0]);
$volume['input_pkts'] = $ipfwin[2];
- $volume['input_bytes'] = $ipfwin[4];
+ $volume['input_bytes'] = $ipfwin[3];
}
exec("/sbin/ipfw table 2 entrystats {$ip}", $ipfwout);
if ($ipfwout[0]) {
$ipfwout = split(" ", $ipfwout[0]);
$volume['output_pkts'] = $ipfwout[2];
- $volume['output_bytes'] = $ipfwout[4];
+ $volume['output_bytes'] = $ipfwout[3];
}
return $volume;
OpenPOWER on IntegriCloud