summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-15 03:18:34 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-15 03:18:34 +0000
commit3e789a8b1385cbd0ccc952b7eac5e1e01ff1a478 (patch)
treec7c708f47d6ce9bcea8c7a23fbabb4fe620b7278 /etc/inc/captiveportal.inc
parent0831bc8616b85859751d9c30f35030dd35cb3a22 (diff)
downloadpfsense-3e789a8b1385cbd0ccc952b7eac5e1e01ff1a478.zip
pfsense-3e789a8b1385cbd0ccc952b7eac5e1e01ff1a478.tar.gz
* Eliminate dead code
* Fix warnings and errors found by eclipse
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r--etc/inc/captiveportal.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 002da98..bef9fba 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -717,6 +717,7 @@ function captiveportal_allowedip_configure() {
/* get last activity timestamp given ipfw rule number */
function captiveportal_get_last_activity($ruleno) {
+ $ipfwoutput = "";
exec("/sbin/ipfw -T list {$ruleno} 2>/dev/null", $ipfwoutput);
/* in */
OpenPOWER on IntegriCloud