Skip to content

Commit

Permalink
tac_plus-ng/perl/tactrace.pl: improve radius dictionary handling
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcJHuber committed Dec 8, 2024
1 parent 1a219b3 commit b1bf276
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tac_plus-ng/perl/tactrace.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/perl -X
#
# tactrace.pl
# (C) 2022-2023 by Marc Huber <[email protected]>
Expand Down Expand Up @@ -200,8 +200,7 @@ sub read_defaults {
av_list => [
{ Name => 'Message-Authenticator', Value => '' },
{ Name => 'User-Name', Value => $username},
# { Name => 'User-Password', Value => $password },
{ Name => 'Password', Value => $password},
{ Name => $dictionary->attribute('Password') ? 'Password' : 'User-Password', Value => $password},
{ Name => 'Calling-Station-Id', Value => "123.123.123.123"},
{ Name => 'Framed-IP-Address', Value => "123.123.123.123"},
],
Expand Down

0 comments on commit b1bf276

Please sign in to comment.