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.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/snmp/vyatta-snmp.pl b/scripts/snmp/vyatta-snmp.pl
index b4257d03..80276043 100644
--- a/scripts/snmp/vyatta-snmp.pl
+++ b/scripts/snmp/vyatta-snmp.pl
@@ -104,7 +104,7 @@ sub randhex {
sub snmp_get_values {
my $config = new Vyatta::Config;
- $config->setLevel("protocols snmp community");
+ $config->setLevel("service snmp community");
my @communities = $config->listNodes();
foreach my $community (@communities) {
@@ -141,7 +141,7 @@ sub snmp_get_values {
}
}
- $config->setLevel("protocols snmp");
+ $config->setLevel("service snmp");
my $contact = $config->returnValue("contact");
if (defined $contact) {
print "syscontact \"$contact\" \n";