summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-09 23:43:44 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-09 23:43:44 +0000
commit6d17beb0c1d50af38ccd8940d04c694c70de52c7 (patch)
treee8c94600861e21975b92884614195b3c843c7dc6
parenta40043993e8815238d440392029c2e22e4545c3e (diff)
downloadpfsense-6d17beb0c1d50af38ccd8940d04c694c70de52c7.zip
pfsense-6d17beb0c1d50af38ccd8940d04c694c70de52c7.tar.gz
We're already calculating for *60
-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 0d973f9..63ade77 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -251,7 +251,7 @@ function captiveportal_prune_old() {
$radiusservers = captiveportal_get_radius_servers();
/* launch expiretable and remove entries older than $timeout */
- mwexec("/usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t " . ( $timeout * 60 ) . " captiveportal");
+ mwexec("/usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t " . $idletimeout . " captiveportal");
$after_prune = `/sbin/pfctl -A captiveportal -sr`;
OpenPOWER on IntegriCloud