diff options
author | Ermal <eri@pfsense.org> | 2013-11-23 19:32:49 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-11-23 19:32:49 +0000 |
commit | fcaf17090a6ef2beb85f1220048b3e7ea53b105d (patch) | |
tree | c09f90957e58479666f1e545feb5c053e8d64dca /usr/local/captiveportal | |
parent | e5f2cf3a94efd552a3e19fb2ea7dcee36a00df79 (diff) | |
download | pfsense-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.inc | 2 |
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']); |