Explorar o código

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

Thomas Kurschel %!s(int64=11) %!d(string=hai) anos
pai
achega
db77c9781c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;