From 811479dfe458341bfd6c64714e729545cd03573c Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 23 Apr 2019 12:40:39 +0200 Subject: T1345: specify RADIUS source IP for system login command set system login radius-source-address '172.18.201.10' --- scripts/system/vyatta_update_login.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/system') 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"; -- cgit v1.2.3