Преглед изворни кода

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

Thomas Kurschel пре 11 година
родитељ
комит
3178c8c0ff
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      plugins/check_snmp.c

+ 1 - 1
plugins/check_snmp.c

@@ -461,7 +461,7 @@ main (int argc, char **argv)
 			show = strstr (response, "Timeticks: ");
 		}
 		else
-			show = response + 3;
+			show = response;
 
 		iresult = STATE_DEPENDENT;