diff options
-rw-r--r-- | scripts/system/vyatta_update_login.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/system/vyatta_update_login.pl b/scripts/system/vyatta_update_login.pl index 8141d72e..c41bb9df 100644 --- a/scripts/system/vyatta_update_login.pl +++ b/scripts/system/vyatta_update_login.pl @@ -30,6 +30,8 @@ my %loginNodes = $config->listNodeStatus(); while ( my ($type, $status) = each %loginNodes) { next if ($status eq 'static'); next if ($type eq 'banner'); + + # convert radius-server to RadiusServer my $kind = ucfirst $type; $kind =~ s/-server/Server/; @@ -38,5 +40,5 @@ while ( my ($type, $status) = each %loginNodes) { # Dynamically invoke update for this type my $login = "Vyatta::Login::$kind"; - $login->update(); + $login->update($status); } |