diff options
author | waja <waja@users.noreply.github.com> | 2023-07-11 07:34:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 07:34:35 +0200 |
commit | fa48c3cfe1d0be363d220610640e595430792e9c (patch) | |
tree | d912e364ee3a963a4fe6879a45ee57bd3d00e6fc /plugins/check_snmp.c | |
parent | 85c8210e58b1e9fd47d04f2d72145322cbd20353 (diff) | |
parent | 443f665c6c92c2b67a47cbe37acd7aae1e07de5c (diff) | |
download | monitoring-plugins-fa48c3c.tar.gz |
Merge branch 'master' into update-po
Diffstat (limited to 'plugins/check_snmp.c')
-rw-r--r-- | plugins/check_snmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c index c425df3c..04dc6c6f 100644 --- a/plugins/check_snmp.c +++ b/plugins/check_snmp.c | |||
@@ -855,6 +855,7 @@ process_arguments (int argc, char **argv) | |||
855 | break; | 855 | break; |
856 | case 'R': /* regex */ | 856 | case 'R': /* regex */ |
857 | cflags = REG_ICASE; | 857 | cflags = REG_ICASE; |
858 | // fall through | ||
858 | case 'r': /* regex */ | 859 | case 'r': /* regex */ |
859 | cflags |= REG_EXTENDED | REG_NOSUB | REG_NEWLINE; | 860 | cflags |= REG_EXTENDED | REG_NOSUB | REG_NEWLINE; |
860 | strncpy (regex_expect, optarg, sizeof (regex_expect) - 1); | 861 | strncpy (regex_expect, optarg, sizeof (regex_expect) - 1); |