This server has been upgraded to version 12.6.4. Enjoy!

Commit bbf56533 authored by Alexander Gall's avatar Alexander Gall

Rename interfaces -> interface in call to NetSNMP::agent::new

parent 28631f5c
...@@ -62,7 +62,7 @@ my %subtrees = ...@@ -62,7 +62,7 @@ my %subtrees =
GetOptions(\%opt, "check-interval=i", GetOptions(\%opt, "check-interval=i",
"ifindex=s", "shmem-dir=s") or usage(); "ifindex=s", "shmem-dir=s") or usage();
defined $opt{ifindex} or usage(); defined $opt{ifindex} or usage();
Snabb::SNMP::Agent::start({ name => "interfaces", Snabb::SNMP::Agent::start({ name => "interface",
subtrees => \%subtrees, subtrees => \%subtrees,
check_interval => $opt{'check-interval'}, check_interval => $opt{'check-interval'},
if_index => $opt{ifindex}, if_index => $opt{ifindex},
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment