From c9b47de8d1467370cb6e713849cd1c44099a3808 Mon Sep 17 00:00:00 2001 From: Max Baker <> Date: Wed, 6 Sep 2006 17:34:29 +0000 Subject: [PATCH] logic inversion error --- Info/Layer2/HP.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Info/Layer2/HP.pm b/Info/Layer2/HP.pm index 500b3dd1..f6e9e2d0 100644 --- a/Info/Layer2/HP.pm +++ b/Info/Layer2/HP.pm @@ -329,7 +329,7 @@ sub i_vlan { # HP4000 issue reported by Michael Robbert 5/25/06: # if we're already listed as a trunk port, don't # 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; }