summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-04-23 12:40:39 +0200
committerChristian Poessinger <christian@poessinger.com>2019-04-23 12:40:39 +0200
commit811479dfe458341bfd6c64714e729545cd03573c (patch)
tree1d84af9fcd0f2a9c7a10af1d0f5505c54e4b2649 /scripts
parentbce32de9b73d7ff2d1120ada9c32d9fd022787a8 (diff)
downloadvyatta-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-xscripts/system/vyatta_update_login.pl3
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";