diff options
author | bcyrill <cyrill@bannwart.info> | 2012-06-09 22:33:24 +0200 |
---|---|---|
committer | bcyrill <cyrill@bannwart.info> | 2012-06-09 22:33:24 +0200 |
commit | 54df925b9ea447bdd10f88a886e2ef11d44c3059 (patch) | |
tree | f844373c0c3488b6c405e342e67e16aa7c0b26a7 /usr/local/captiveportal/radius_authentication.inc | |
parent | 52a43b2fa3c018b145de759af4da823fcb6260fc (diff) | |
download | pfsense-54df925b9ea447bdd10f88a886e2ef11d44c3059.zip pfsense-54df925b9ea447bdd10f88a886e2ef11d44c3059.tar.gz |
Make mac_format aware of multiple Captiveportal instances
Diffstat (limited to 'usr/local/captiveportal/radius_authentication.inc')
-rw-r--r-- | usr/local/captiveportal/radius_authentication.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/captiveportal/radius_authentication.inc b/usr/local/captiveportal/radius_authentication.inc index df9a368..f201ba0 100644 --- a/usr/local/captiveportal/radius_authentication.inc +++ b/usr/local/captiveportal/radius_authentication.inc @@ -80,7 +80,7 @@ function RADIUS_AUTHENTICATION($username,$password,$radiusservers,$clientip,$cli global $config, $cpzone; $retvalue = array(); - $clientmac = mac_format($clientmac); + $clientmac = mac_format($clientmac, $cpzone); $nas_port = $ruleno; $radiusvendor = $config['captiveportal'][$cpzone]['radiusvendor'] ? $config['captiveportal'][$cpzone]['radiusvendor'] : null; $radius_protocol = $config['captiveportal'][$cpzone]['radius_protocol']; |