Skip to content

Commit

Permalink
snmp: do not set SIGMATCH_NOOPT
Browse files Browse the repository at this point in the history
  • Loading branch information
satta authored and victorjulien committed Feb 24, 2020
1 parent 6d94b09 commit f02a18e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/detect-snmp-pdu_type.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
1 change: 0 additions & 1 deletion src/detect-snmp-version.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f02a18e

Please sign in to comment.