summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-05-08 19:20:28 +0000
committerErmal Luçi <eri@pfsense.org>2009-05-08 19:20:28 +0000
commit9befcca76aad3e31be525f64afbe47b5d59bafb2 (patch)
tree01088c1bd0ab26aba780c802b729c83b4120bc8b /etc
parent0027de0a544438f146cfc94f005fd6f4ba9f94d7 (diff)
downloadpfsense-9befcca76aad3e31be525f64afbe47b5d59bafb2.zip
pfsense-9befcca76aad3e31be525f64afbe47b5d59bafb2.tar.gz
Fix a lock leaking on CP.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/captiveportal.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 751239c..411bdfc 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -902,9 +902,8 @@ function radius($username,$password,$clientip,$clientmac,$type) {
$auth_list,
$ruleno);
}
- else {
- captiveportal_unlock();
- }
+
+ captiveportal_unlock();
return $auth_list;
OpenPOWER on IntegriCloud