summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-11-23 19:32:49 +0000
committerErmal <eri@pfsense.org>2013-11-23 19:32:49 +0000
commitfcaf17090a6ef2beb85f1220048b3e7ea53b105d (patch)
treec09f90957e58479666f1e545feb5c053e8d64dca /usr/local/captiveportal
parente5f2cf3a94efd552a3e19fb2ea7dcee36a00df79 (diff)
downloadpfsense-fcaf17090a6ef2beb85f1220048b3e7ea53b105d.zip
pfsense-fcaf17090a6ef2beb85f1220048b3e7ea53b105d.tar.gz
Catch up with mac needed for all operations in the table nowdays.
Diffstat (limited to 'usr/local/captiveportal')
-rw-r--r--usr/local/captiveportal/radius_accounting.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/captiveportal/radius_accounting.inc b/usr/local/captiveportal/radius_accounting.inc
index d2b4d50..3d0bc0a 100644
--- a/usr/local/captiveportal/radius_accounting.inc
+++ b/usr/local/captiveportal/radius_accounting.inc
@@ -176,7 +176,7 @@ function RADIUS_ACCOUNTING_STOP($ruleno,$username,$sessionid,$start_time,$radius
$radiusvendor = $config['captiveportal'][$cpzone]['radiusvendor'] ? $config['captiveportal'][$cpzone]['radiusvendor'] : null;
$stop_time = (empty($stop_time)) ? time() : $stop_time;
$session_time = $stop_time - $start_time;
- $volume = getVolume($clientip);
+ $volume = getVolume($clientip, $clientmac);
$volume['input_bytes_radius'] = remainder($volume['input_bytes']);
$volume['input_gigawords'] = gigawords($volume['input_bytes']);
$volume['output_bytes_radius'] = remainder($volume['output_bytes']);
OpenPOWER on IntegriCloud