From 18cbd65fe5e7c751893c240f1eec68e4e8621141 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Sat, 14 Nov 2009 23:12:43 -0500 Subject: [PATCH] fix typos --- usr/local/captiveportal/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index c3f5f208ec..92eb95db44 100755 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -47,8 +47,8 @@ $clientip = $_SERVER['REMOTE_ADDR']; if (!$clientip) { /* not good - bail out */ - echo "An error occured. Please check the system logs for more information."; - log_error("Captive portal could not deterimine client's IP address."); + echo "An error occurred. Please check the system logs for more information."; + log_error("Captive portal could not determine client's IP address."); exit; } @@ -86,7 +86,7 @@ $clientmac = arp_get_mac_by_ip($clientip); if (!$clientmac && $macfilter) { /* unable to find MAC address - shouldn't happen! - bail out */ captiveportal_logportalauth("unauthenticated","noclientmac",$clientip,"ERROR"); - echo "An error occured. Please check the system logs for more information."; + echo "An error occurred. Please check the system logs for more information."; log_error("Captive portal could not determine client's MAC address. Disable MAC address filtering in captive portal if you do not need this functionality."); exit; }