diff --git a/src/detect-snmp-pdu_type.c b/src/detect-snmp-pdu_type.c index 9a7068d26f..83028cec77 100644 --- a/src/detect-snmp-pdu_type.c +++ b/src/detect-snmp-pdu_type.c @@ -72,7 +72,6 @@ void DetectSNMPPduTypeRegister(void) #ifdef UNITTESTS sigmatch_table[DETECT_AL_SNMP_PDU_TYPE].RegisterTests = DetectSNMPPduTypeRegisterTests; #endif - sigmatch_table[DETECT_AL_SNMP_PDU_TYPE].flags |= SIGMATCH_NOOPT; DetectSetupParseRegexes(PARSE_REGEX, &parse_regex, &parse_regex_study); diff --git a/src/detect-snmp-version.c b/src/detect-snmp-version.c index f1240a96ea..598ced72b0 100644 --- a/src/detect-snmp-version.c +++ b/src/detect-snmp-version.c @@ -84,7 +84,6 @@ void DetectSNMPVersionRegister (void) #ifdef UNITTESTS sigmatch_table[DETECT_AL_SNMP_VERSION].RegisterTests = DetectSNMPVersionRegisterTests; #endif - sigmatch_table[DETECT_AL_SNMP_VERSION].flags |= SIGMATCH_NOOPT; DetectSetupParseRegexes(PARSE_REGEX, &parse_regex, &parse_regex_study);