Commit 3dda57ff authored by Robert Ricci's avatar Robert Ricci

Make sure to search VLAN 1 on ciscos - normally, the Cisco list_vlans()

doesn't return it.
parent 53a11517
......@@ -136,7 +136,7 @@ SWITCH:
my $device;
if ($useindexing) {
$device = new snmpit_cisco($switch,$debug,$community);
@vlanList = $device->listVlans();
@vlanList = ([1,1,[]],$device->listVlans());
} else {
#
# Make up a fake VLAN, just so we get into the loop below
......
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