Skip to content

Commit

Permalink
use upper case for description key
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonéri Le Bouder committed Mar 11, 2012
1 parent 1042eca commit 1d06b0f
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -114,9 +114,9 @@ sub _getInterfaces {
if (defined $object->{PhysicalAdapter}) {
$interface->{VIRTUALDEV} = $object->{PhysicalAdapter} ? 0 : 1;
# http://forge.fusioninventory.org/issues/1166
} elsif ($interface->{description}
&& $interface->{description} =~ /RAS/
&& $interface->{description} =~ /Adapter/i) {
} elsif ($interface->{DESCRIPTION}
&& $interface->{DESCRIPTION} =~ /RAS/
&& $interface->{DESCRIPTION} =~ /Adapter/i) {
$interface->{VIRTUALDEV} = 1;
} else {
$interface->{VIRTUALDEV} = $object->{PNPDeviceId} =~ /^ROOT/ ? 1 : 0;
Expand Down

0 comments on commit 1d06b0f

Please sign in to comment.