Переглянути джерело

check_snmp: fix push request 1173 for SNMP responses without datatype indicator

Thomas Kurschel 10 роки тому
батько
коміт
db77c9781c
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      plugins/check_snmp.c

+ 1 - 1
plugins/check_snmp.c

@@ -479,7 +479,7 @@ main (int argc, char **argv)
 			is_ticks = 1;
 		}
 		else
-			show = response + 3;
+			show = response;
 
 		iresult = STATE_DEPENDENT;