diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-12-12 17:34:33 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-12-12 17:34:33 +0000 |
commit | 6a92a6e154969035d2797e99891f174c8de49417 (patch) | |
tree | dfc59edb0efa460a8280cc2b767415b9d30b986f /usr/local | |
parent | 2653f75032d789090ae9a3228de24b10fda3d635 (diff) | |
download | pfsense-6a92a6e154969035d2797e99891f174c8de49417.zip pfsense-6a92a6e154969035d2797e99891f174c8de49417.tar.gz |
Log an error when we reach maximum capacity to system logs
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/captiveportal/index.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index 2f6970f..81a74f1 100755 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -248,6 +248,7 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut /* if the pool is empty, return appropriate message and exit */ if (is_null($ruleno)) { portal_reply_page($redirurl, "error", "System reached maximum login capacity"); + log_error("WARNING! Captive portal has reached maximum login capacity"); captiveportal_unlock(); exit; } |