Module: monitoring-plugins
Branch: master
Commit: 7c20cb97292a8207b0fe4e76425b62409be68b12
Author: Lorenz Kästle <[email protected]>
Committer: GitHub <[email protected]>
Date: Tue Apr 7 13:16:59 2026 +0200
URL:
https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=7c20cb97
check_snmp: fixed falltrhough case in ASN_FLOAT/ASN_DOUBLE (#2249)
Co-authored-by: Andreas Baumann <[email protected]>
---
plugins/check_snmp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index f470d222..1746fd79 100644
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
@@ -116,6 +116,7 @@ gen_state_string_type
gen_state_string(check_snmp_state_entry *entries, size_t n
break;
case ASN_FLOAT:
printf("Type FLOAT\n");
+ break;
case ASN_DOUBLE:
printf("Type DOUBLE\n");
break;
@@ -217,6 +218,7 @@ recover_state_data_type recover_state_data(char
*state_string, idx_t state_strin
break;
case ASN_FLOAT:
printf("Type FLOAT\n");
+ break;
case ASN_DOUBLE:
printf("Type DOUBLE\n");
break;