diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-04-23 12:40:39 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-04-23 12:40:39 +0200 |
commit | 811479dfe458341bfd6c64714e729545cd03573c (patch) | |
tree | 1d84af9fcd0f2a9c7a10af1d0f5505c54e4b2649 /scripts | |
parent | bce32de9b73d7ff2d1120ada9c32d9fd022787a8 (diff) | |
download | vyatta-cfg-system-811479dfe458341bfd6c64714e729545cd03573c.tar.gz vyatta-cfg-system-811479dfe458341bfd6c64714e729545cd03573c.zip |
T1345: specify RADIUS source IP for system login command
set system login radius-source-address '172.18.201.10'
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/system/vyatta_update_login.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/system/vyatta_update_login.pl b/scripts/system/vyatta_update_login.pl index c41bb9df..550beb8e 100755 --- a/scripts/system/vyatta_update_login.pl +++ b/scripts/system/vyatta_update_login.pl @@ -35,6 +35,9 @@ while ( my ($type, $status) = each %loginNodes) { my $kind = ucfirst $type; $kind =~ s/-server/Server/; + # convert radius-source-address to RadiusServer + $kind =~ s/-source-address/Server/; + # Dynamically load the module to handle that login method require "Vyatta/Login/$kind.pm"; |