Commit c2b37366 authored by Christopher Alfeld's avatar Christopher Alfeld

Fixed to avoid trying to remove the default vlan.

parent 17649161
......@@ -29,8 +29,7 @@ while (<SNMPIT>) {
@line = split;
$id = $line[0];
if (! ($id =~ /[0-9]+/)) {next;}
if ($line[1] eq "Control") {next;}
if ($line[1] eq "System") {next;}
if ($id == 1) {next;}
$remove = 1;
foreach $member (@line[2..$#line]) {
@elements = split(":",$member);
......
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