summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-11-17 13:05:02 +0100
committerErmal <eri@pfsense.org>2014-11-17 13:05:02 +0100
commit402941d19f73381805749f1dd0e8734f681cbc85 (patch)
treea0dced0270b714198218af8511ae61771abf0b37
parent1e0544a61f9b05931ed51e1b664df277f4fdf7f9 (diff)
downloadpfsense-402941d19f73381805749f1dd0e8734f681cbc85.zip
pfsense-402941d19f73381805749f1dd0e8734f681cbc85.tar.gz
Use the name entry now that there is a definition for it
-rw-r--r--etc/inc/captiveportal.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 1b99e19..00d64c0 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -1132,7 +1132,7 @@ function captiveportal_allowedip_configure() {
function captiveportal_get_last_activity($ip, $mac = NULL) {
global $cpzoneid;
- $ipfwoutput = pfSense_ipfw_getTablestats($cpzoneid, 1, $ip, $mac);
+ $ipfwoutput = pfSense_ipfw_getTablestats($cpzoneid, IP_FW_TABLE_XLISTENTRY, $ip, $mac);
/* Reading only from one of the tables is enough of approximation. */
if (is_array($ipfwoutput)) {
return $ipfwoutput['timestamp'];
OpenPOWER on IntegriCloud