mirror of
https://github.com/OISF/suricata.git
synced 2026-10-11 22:09:53 +00:00
detect/absent: constify signature pointer in callback
This commit is contained in:
committed by
Victor Julien
parent
17ed70dcb5
commit
325f0cc02a
@@ -115,7 +115,7 @@ static int DetectAbsentSetup(DetectEngineCtx *de_ctx, Signature *s, const char *
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool DetectAbsentValidateContentCallback(Signature *s, const SignatureInitDataBuffer *b)
|
||||
bool DetectAbsentValidateContentCallback(const Signature *s, const SignatureInitDataBuffer *b)
|
||||
{
|
||||
bool has_other = false;
|
||||
bool only_absent = false;
|
||||
|
||||
@@ -42,6 +42,6 @@ typedef struct DetectAbsentData_ {
|
||||
/* prototypes */
|
||||
void DetectIsdataatRegister (void);
|
||||
|
||||
bool DetectAbsentValidateContentCallback(Signature *s, const SignatureInitDataBuffer *);
|
||||
bool DetectAbsentValidateContentCallback(const Signature *s, const SignatureInitDataBuffer *);
|
||||
|
||||
#endif /* SURICATA_DETECT_ISDATAAT_H */
|
||||
|
||||
Reference in New Issue
Block a user