From 7aaf60a87cf5d564a80b6c1d1992281662cafdda Mon Sep 17 00:00:00 2001 From: k-paulius Date: Wed, 10 Feb 2016 22:53:22 -0600 Subject: Fix RADIUS spelling. It is written in all caps. --- src/etc/inc/auth.inc | 8 ++++---- src/etc/inc/captiveportal.inc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/etc') diff --git a/src/etc/inc/auth.inc b/src/etc/inc/auth.inc index a5f0ff4..95c630b 100644 --- a/src/etc/inc/auth.inc +++ b/src/etc/inc/auth.inc @@ -1386,7 +1386,7 @@ function radius_backed($username, $passwd, $authcfg, &$attributes = array()) { $retvalue['auth_val'] = 1; $retvalue['error'] = $rauth->getError(); if ($debug) { - printf(gettext("Radius start: %s
\n"), $retvalue['error']); + printf(gettext("RADIUS start: %s
\n"), $retvalue['error']); } } @@ -1398,7 +1398,7 @@ function radius_backed($username, $passwd, $authcfg, &$attributes = array()) { $retvalue['auth_val'] = 1; $retvalue['error'] = $result->getMessage(); if ($debug) { - printf(gettext("Radius send failed: %s
\n"), $retvalue['error']); + printf(gettext("RADIUS send failed: %s
\n"), $retvalue['error']); } } else if ($result === true) { if ($rauth->getAttributes()) { @@ -1406,13 +1406,13 @@ function radius_backed($username, $passwd, $authcfg, &$attributes = array()) { } $retvalue['auth_val'] = 2; if ($debug) { - printf(gettext("Radius Auth succeeded")."
\n"); + printf(gettext("RADIUS Auth succeeded")."
\n"); } $ret = true; } else { $retvalue['auth_val'] = 3; if ($debug) { - printf(gettext("Radius Auth rejected")."
\n"); + printf(gettext("RADIUS Auth rejected")."
\n"); } } diff --git a/src/etc/inc/captiveportal.inc b/src/etc/inc/captiveportal.inc index 1714a40..2921af2 100644 --- a/src/etc/inc/captiveportal.inc +++ b/src/etc/inc/captiveportal.inc @@ -1300,7 +1300,7 @@ function captiveportal_init_radius_servers() { $cprdsrvlck = lock("captiveportalradius{$cpzone}", LOCK_EX); $fd = @fopen("{$g['vardb_path']}/captiveportal_radius_{$cpzone}.db", "w"); if (!$fd) { - captiveportal_syslog("Error: cannot open radius DB file in captiveportal_configure().\n"); + captiveportal_syslog("Error: cannot open RADIUS DB file in captiveportal_configure().\n"); unlock($cprdsrvlck); return 1; } -- cgit v1.1