Commit 300adbc4 authored by Robert Ricci's avatar Robert Ricci
Browse files

Add a missing [] that was preventing us from removing ports from a VLAN

before deleting it.
parent 1236b544
......@@ -1021,7 +1021,7 @@ sub removePortsFromVlan($@) {
# Walk the tree to find VLAN membership
my ($rows) = snmpitBulkwalkFatal($self->{SESS},$VlanPortVlan);
my ($rows) = snmpitBulkwalkFatal($self->{SESS},[$VlanPortVlan]);
foreach my $rowref (@$rows) {
my ($name,$modport,$port_vlan_number) = @$rowref;
$self->debug("Got $name $modport $port_vlan_number\n");
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