logic inversion error

This commit is contained in:
Max Baker
2006-09-06 17:34:29 +00:00
parent 0dd90a24dd
commit c9b47de8d1

View File

@@ -329,7 +329,7 @@ sub i_vlan {
# HP4000 issue reported by Michael Robbert 5/25/06: # HP4000 issue reported by Michael Robbert 5/25/06:
# if we're already listed as a trunk port, don't # if we're already listed as a trunk port, don't
# overwrite this with the untagged vlan number # overwrite this with the untagged vlan number
next if defined $i_vlan->{$if} and $i_vlan->{$if} !~ /trunk/i; next if defined $i_vlan->{$if} and $i_vlan->{$if} =~ /trunk/i;
$i_vlan->{$if} = $vlan if defined $vlan; $i_vlan->{$if} = $vlan if defined $vlan;
} }