summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-10 00:48:20 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-10 00:48:20 +0000
commit9420e0c451c8ff25a8724e48239c3337d638256e (patch)
treeb199d859e38b826db8b0e6f6ac3afacef5ab3f5a /etc/inc
parent4e6f9d37c82677a425d510200dfc3314d09730a6 (diff)
downloadpfsense-9420e0c451c8ff25a8724e48239c3337d638256e.zip
pfsense-9420e0c451c8ff25a8724e48239c3337d638256e.tar.gz
Typo
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/captiveportal.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index bb50594..1880a46 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -250,9 +250,9 @@ function captiveportal_prune_old() {
$radiusservers = captiveportal_get_radius_servers();
- if($idletimeout <> 0) (
+ if($idletimeout <> 0) {
/* launch expire table and remove entries older than $timeout */
- mwexec("/usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t " . $idletimeout . " captiveportal");
+ mwexec("/usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t {$idletimeout} captiveportal");
}
$after_prune = `/sbin/pfctl -t captiveportal -T show`;
OpenPOWER on IntegriCloud