Silence some uninitialized variable warnings in discover

This commit is contained in:
Eric A. Miller
2014-02-03 20:17:46 -05:00
parent 30694c6f90
commit 529b797a8a
2 changed files with 4 additions and 4 deletions

View File

@@ -221,7 +221,7 @@ sub store_interfaces {
if (not $port) {
debug sprintf ' [%s] interfaces - ignoring %s (no port mapping)',
$device->ip, $port;
$device->ip, $entry;
next;
}
@@ -336,7 +336,7 @@ sub store_wireless {
if (not $port) {
debug sprintf ' [%s] wireless - ignoring %s (no port mapping)',
$device->ip, $port;
$device->ip, $iid;
next;
}
@@ -364,7 +364,7 @@ sub store_wireless {
if (not $port) {
debug sprintf ' [%s] wireless - ignoring %s (no port mapping)',
$device->ip, $port;
$device->ip, $entry;
next;
}

View File

@@ -36,7 +36,7 @@ Given a Device database object, and a working SNMP connection, connect to a
device and discover the MAC addresses listed against each physical port
without a neighbor.
If the device has VLANs, C<do_macsuck> will walk each VALN to get the MAC
If the device has VLANs, C<do_macsuck> will walk each VLAN to get the MAC
addresses from there.
It will also gather wireless client information if C<store_wireless_clients>