summaryrefslogtreecommitdiff
path: root/scripts/snmp/vyatta-snmp.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/snmp/vyatta-snmp.pl')
-rw-r--r--scripts/snmp/vyatta-snmp.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/snmp/vyatta-snmp.pl b/scripts/snmp/vyatta-snmp.pl
index 65247788..eb8e9ede 100644
--- a/scripts/snmp/vyatta-snmp.pl
+++ b/scripts/snmp/vyatta-snmp.pl
@@ -24,8 +24,8 @@
#
use lib "/opt/vyatta/share/perl5/";
-use VyattaConfig;
-use VyattaMisc;
+use Vyatta::Config;
+use Vyatta::Misc;
use Getopt::Long;
use strict;
@@ -74,7 +74,7 @@ sub snmp_get_constants {
sub snmp_get_values {
my $output = '';
- my $config = new VyattaConfig;
+ my $config = new Vyatta::Config;
$config->setLevel("protocols snmp community");
my @communities = $config->listNodes();