diff options
author | Ermal <eri@pfsense.org> | 2012-12-13 21:37:31 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-12-13 21:37:31 +0000 |
commit | 6cbda3175f263f32538b2df9d1324d45d06caf60 (patch) | |
tree | cbd3da85119f8c0513db2240b46ae8d7bfd31b8f /usr/local/captiveportal | |
parent | bdd3c3b24df47884800df3fe981bdbeb4872f543 (diff) | |
download | pfsense-6cbda3175f263f32538b2df9d1324d45d06caf60.zip pfsense-6cbda3175f263f32538b2df9d1324d45d06caf60.tar.gz |
Switch all the actions(pipe create/table modify/get mac address) during fast path of CP to pfSense modules ones.
Diffstat (limited to 'usr/local/captiveportal')
-rwxr-xr-x | usr/local/captiveportal/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index d325835..bb95971 100755 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -96,7 +96,7 @@ $passthrumac = isset($config['captiveportal'][$cpzone]['passthrumacadd']); /* find MAC address for client */ if ($macfilter || $passthrumac) { - $clientmac = arp_get_mac_by_ip($clientip); + $clientmac = pfSense_ip_to_mac($clientip); if (!$clientmac) { /* unable to find MAC address - shouldn't happen! - bail out */ captiveportal_logportalauth("unauthenticated","noclientmac",$clientip,"ERROR"); |