*/
int DetectBytejumpDoMatch(DetectEngineThreadCtx *det_ctx, const Signature *s,
const SigMatchCtx *ctx, const uint8_t *payload, uint32_t payload_len,
- uint8_t flags, int32_t offset)
+ uint16_t flags, int32_t offset)
{
SCEnter();
* error as a match.
*/
int DetectBytejumpDoMatch(DetectEngineThreadCtx *, const Signature *, const SigMatchCtx *,
- const uint8_t *, uint32_t, uint8_t, int32_t);
+ const uint8_t *, uint32_t, uint16_t, int32_t);
#endif /* __DETECT_BYTEJUMP_H__ */
} else if (smd->type == DETECT_BYTEJUMP) {
DetectBytejumpData *bjd = (DetectBytejumpData *)smd->ctx;
- uint8_t bjflags = bjd->flags;
+ uint16_t bjflags = bjd->flags;
int32_t offset = bjd->offset;
if (bjflags & DETECT_BYTEJUMP_OFFSET_BE) {