summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-04-18 18:23:22 +0200
committerChristian Poessinger <christian@poessinger.com>2019-04-18 18:23:24 +0200
commit0e0639d6aedc184400067cecb8f5a0530df193cd (patch)
tree51169ab02045071115e442846dd3e6fe9a6d53d7 /lib
parent4d852054acf06e5aca1b8db1444952788d1a0c41 (diff)
downloadvyatta-cfg-system-0e0639d6aedc184400067cecb8f5a0530df193cd.tar.gz
vyatta-cfg-system-0e0639d6aedc184400067cecb8f5a0530df193cd.zip
T1344: rename RADIUS 'system login' nodes
In order to prepare for adding a RADIUS source IP address and synchronize the syntax with L2TP/PPTP the nodes have been renamed from: set system login radius-server x.x.x.x to set system login radius server x.x.x.x
Diffstat (limited to 'lib')
-rw-r--r--lib/Vyatta/Login/Radius.pm (renamed from lib/Vyatta/Login/RadiusServer.pm)4
-rw-r--r--[-rwxr-xr-x]lib/Vyatta/Login/User.pm0
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Vyatta/Login/RadiusServer.pm b/lib/Vyatta/Login/Radius.pm
index 5a71b1f8..9c2d56aa 100644
--- a/lib/Vyatta/Login/RadiusServer.pm
+++ b/lib/Vyatta/Login/Radius.pm
@@ -14,7 +14,7 @@
#
# **** End License ****
-package Vyatta::Login::RadiusServer;
+package Vyatta::Login::Radius;
use strict;
use warnings;
use lib "/opt/vyatta/share/perl5";
@@ -63,7 +63,7 @@ sub add_pam_radius {
sub update {
my $rconfig = new Vyatta::Config;
- $rconfig->setLevel("system login radius-server");
+ $rconfig->setLevel("system login radius server");
my %servers = $rconfig->listNodeStatus();
my $count = 0;
diff --git a/lib/Vyatta/Login/User.pm b/lib/Vyatta/Login/User.pm
index c8b53e0a..c8b53e0a 100755..100644
--- a/lib/Vyatta/Login/User.pm
+++ b/lib/Vyatta/Login/User.pm