Module: monitoring-plugins
    Branch: fix_check_snmp_fallthrough
    Commit: 0fe19fb8ac5e0cc1d592831b6f3150936c17f3fd
    Author: Andreas Baumann <[email protected]>
 Committer: Lorenz Kästle <[email protected]>
      Date: Fri Jan 23 08:59:52 2026 +0100
       URL: 
https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=0fe19fb8

check_snmp: fixed falltrhough case in ASN_FLOAT/ASN_DOUBLE

---

 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;

Reply via email to