From 9420e0c451c8ff25a8724e48239c3337d638256e Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 10 Jul 2005 00:48:20 +0000 Subject: Typo --- etc/inc/captiveportal.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/inc') 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`; -- cgit v1.1