diff --git a/Info.pm b/Info.pm index 9c16acd6..6d649624 100644 --- a/Info.pm +++ b/Info.pm @@ -1172,7 +1172,7 @@ sub device_type { # Some devices don't implement sysServices, but do return a description. # In that case, log a warning and continue. - if ( !$layers ) { + if ( $layers eq '00000000' ) { if ($desc ne 'undef') { carp("Device doesn't implement sysServices but did return sysDescr. Might give unexpected results.\n") if $info->debug(); } else {