Commit b95bc757 authored by Robert Ricci's avatar Robert Ricci
Browse files

Fix an unitialized value warning in a seldom-used branch of the code.

parent 3599bb39
......@@ -124,7 +124,9 @@ sub new($$$#@) {
if (!$self->{LEADER}) {
# XXX: For simplicity, we assume for now that the leader is a Cisco
use snmpit_cisco;
$self->{LEADER} = new snmpit_cisco($self->{STACKID});
my $type = getDeviceType($self->{STACKID});
$self->{LEADER} = new snmpit_cisco($self->{STACKID}, $self->{DEBUG},
$type, $community, $supports_private)
Supports Markdown
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