From 7b94c510cf9000a9e6dc6b2339d60ae594480d98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Gu=C3=B0j=C3=B3n=20Sigur=C3=B0sson?= Date: Mon, 29 Mar 2010 16:07:32 +0000 Subject: [PATCH] bugfix: 1 extra interface reported inappropriate --- check_snmp/trunk/check_snmp_interfaces | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_snmp/trunk/check_snmp_interfaces b/check_snmp/trunk/check_snmp_interfaces index 5a2eb6a..d0b525e 100755 --- a/check_snmp/trunk/check_snmp_interfaces +++ b/check_snmp/trunk/check_snmp_interfaces @@ -35,7 +35,7 @@ $timeout = 2; $number_of_interfaces = 0; $target_interface_index = 0; -@list_interfaces=undef; # List of inappropriate interfaces; +@list_interfaces=(); # List of inappropriate interfaces; $oid_base = ".1.3.6.1.2.1.2.2.1.1."; $oid_sysdescr = ".1.3.6.1.2.1.1.1.0";