From 665f33a48221e0fd9fa13f0e5358c923e68dba26 Mon Sep 17 00:00:00 2001 From: Jeroen van Ingen <> Date: Mon, 26 Jul 2010 14:31:41 +0000 Subject: [PATCH] Small fix for sysServices ("layers") check --- Info.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {