diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-11-21 17:05:44 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-11-21 17:05:44 -0800 |
commit | 62af8baf3a696f774430117927440c114248a81d (patch) | |
tree | 77956280017b2dff1c06e29d9c04b096f68bc552 /scripts/snmp/vyatta-snmp.pl | |
parent | 5021e2073b50f3f2022d19c07870b11604548689 (diff) | |
download | vyatta-cfg-quagga-62af8baf3a696f774430117927440c114248a81d.tar.gz vyatta-cfg-quagga-62af8baf3a696f774430117927440c114248a81d.zip |
Convert to Vyatta::Config hierarchy
Diffstat (limited to 'scripts/snmp/vyatta-snmp.pl')
-rw-r--r-- | scripts/snmp/vyatta-snmp.pl | 6 |
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(); |