diff options
Diffstat (limited to 'scripts/snmp/vyatta-snmp.pl')
-rw-r--r-- | scripts/snmp/vyatta-snmp.pl | 4 |
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"; |