Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
smradius
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
smradius
smradius
Commits
eece52fb
Commit
eece52fb
authored
11 years ago
by
Nigel Kukard
Browse files
Options
Downloads
Patches
Plain Diff
Fix uninitialized value in debug message
Change-Id: I8a93796d1c468e78cbbb1d7039853a89b79f9ee7
parent
54d606d4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
smradius/modules/system/mod_config_sql.pm
+3
-3
3 additions, 3 deletions
smradius/modules/system/mod_config_sql.pm
with
3 additions
and
3 deletions
smradius/modules/system/mod_config_sql.pm
+
3
−
3
View file @
eece52fb
...
...
@@ -253,7 +253,7 @@ sub getConfig
}
# Do check
if
(
$doCheck
)
{
$server
->
log
(
LOG_DEBUG
,"
Processing access list for
client ID '
$clientID
'
");
$server
->
log
(
LOG_DEBUG
,"
Processing access list for
realm '
$realmName
'
");
$sth
=
DBSelect
(
$config
->
{'
get_config_accesslist_query
'},
$realmID
);
if
(
!
$sth
)
{
...
...
@@ -277,14 +277,14 @@ sub getConfig
# Check for match
if
(
$peerAddrObj
->
is_within
(
$rangeObj
))
{
$clientID
=
$res
->
{'
ID
'};
$server
->
log
(
LOG_
ERR
,"
(SETCACHE) Got client ID '
$clientID
' from DB
");
$server
->
log
(
LOG_
INFO
,"
(SETCACHE) Got client ID '
$clientID
' from DB
");
last
;
}
}
}
DBFreeRes
(
$sth
);
if
(
!
defined
(
$clientID
))
{
$server
->
log
(
LOG_
ERR
,"
Peer Address '
"
.
$server
->
{'
server
'}{'
peeraddr
'}
.
"
' not found in access list
");
$server
->
log
(
LOG_
NOTICE
,"
Peer Address '
"
.
$server
->
{'
server
'}{'
peeraddr
'}
.
"
' not found in access list
");
return
MOD_RES_NACK
;
}
# Setup cached data
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment