From 62af8baf3a696f774430117927440c114248a81d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 21 Nov 2008 17:05:44 -0800 Subject: Convert to Vyatta::Config hierarchy --- scripts/snmp/vyatta-snmp.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/snmp') 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(); -- cgit v1.2.3