typo & 2 variables that were not defined with my (#309)

This commit is contained in:
nick n
2019-02-23 22:30:04 +01:00
committed by GitHub
parent a2877729ff
commit 3b604723bd
2 changed files with 6 additions and 6 deletions

View File

@@ -69,8 +69,8 @@ list any missing functionality (such as neighbor discovery tables).
my $err = $info->error();
die "SNMP Community or Version probably wrong connecting to device. $err\n" if defined $err;
$name = $info->name();
$class = $info->class();
my $name = $info->name();
my $class = $info->class();
print "SNMP::Info is using this device class : $class\n";
# Find out the Duplex status for the ports
@@ -260,7 +260,7 @@ See documentation in L<SNMP::Info::AMAP> for details.
=item SNMP::Info::Bridge
F<BRIDGE-MIB> (RFC1286). F<QBRIDGE-MIB>. Inherited by devices with Layer2
F<BRIDGE-MIB> (RFC1286). F<Q-BRIDGE-MIB>. Inherited by devices with Layer2
support.
See documentation in L<SNMP::Info::Bridge> for details.