Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
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
shail
smradius
Commits
e3e2d0c5
Commit
e3e2d0c5
authored
14 years ago
by
Robert Anderson
Browse files
Options
Downloads
Patches
Plain Diff
Small changes
Fixed spelling mistakes
parent
4158d5ba
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
smradius/attributes.pm
+1
-1
1 addition, 1 deletion
smradius/attributes.pm
smradius/modules/userdb/mod_userdb_sql.pm
+1
-1
1 addition, 1 deletion
smradius/modules/userdb/mod_userdb_sql.pm
with
2 additions
and
2 deletions
smradius/attributes.pm
+
1
−
1
View file @
e3e2d0c5
...
...
@@ -80,7 +80,7 @@ sub addAttribute
$attribute
->
{'
Name
'}
=~
s/\s*(\S+)\s*/$1/
;
$attribute
->
{'
Operator
'}
=~
s/\s*(\S+)\s*/$1/
;
# Grab attribue name, operator and value
# Grab attribu
t
e name, operator and value
my
$name
=
$attribute
->
{'
Name
'};
my
$operator
=
$attribute
->
{'
Operator
'};
my
$value
=
$attribute
->
{'
Value
'};
...
...
This diff is collapsed.
Click to expand it.
smradius/modules/userdb/mod_userdb_sql.pm
+
1
−
1
View file @
e3e2d0c5
...
...
@@ -241,7 +241,7 @@ sub get
return
-
1
;
}
# Loop with
group
attributes
# Loop with
user
attributes
while
(
my
$row
=
$sth
->
fetchrow_hashref
())
{
addAttribute
(
$server
,
\
%attributes
,
\
%vattributes
,
hashifyLCtoMC
(
$row
,
qw(Name Operator Value)
));
}
...
...
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