diff options
author | Ermal <eri@pfsense.org> | 2014-11-17 13:05:02 +0100 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-11-17 13:05:02 +0100 |
commit | 402941d19f73381805749f1dd0e8734f681cbc85 (patch) | |
tree | a0dced0270b714198218af8511ae61771abf0b37 /etc | |
parent | 1e0544a61f9b05931ed51e1b664df277f4fdf7f9 (diff) | |
download | pfsense-402941d19f73381805749f1dd0e8734f681cbc85.zip pfsense-402941d19f73381805749f1dd0e8734f681cbc85.tar.gz |
Use the name entry now that there is a definition for it
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/captiveportal.inc | 2 |
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']; |