From 6a92a6e154969035d2797e99891f174c8de49417 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 12 Dec 2006 17:34:33 +0000 Subject: Log an error when we reach maximum capacity to system logs --- usr/local/captiveportal/index.php | 1 + 1 file changed, 1 insertion(+) (limited to 'usr/local/captiveportal') 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; } -- cgit v1.1