#include "detect-engine-content-inspection.h"
#include "detect-uricontent.h"
#include "detect-urilen.h"
+#include "detect-luajit.h"
#include "app-layer-dcerpc.h"
}
SCReturnInt(0);
- } else if (sm->type == DETECT_LUAJIT) {
+#ifdef HAVE_LUAJIT
+ }
+ else if (sm->type == DETECT_LUAJIT) {
if (DetectLuajitMatchBuffer(det_ctx, s, sm, buffer, buffer_len, det_ctx->buffer_offset) != 1) {
SCReturnInt(0);
}
-
goto match;
-
+#endif
} else {
SCLogDebug("sm->type %u", sm->type);
#ifdef DEBUG
/* prototypes */
void DetectLuajitRegister (void);
+int DetectLuajitMatchBuffer(DetectEngineThreadCtx *det_ctx, Signature *s, SigMatch *sm, uint8_t *buffer, uint32_t buffer_len, uint32_t offset);
#endif /* __DETECT_FILELUAJIT_H__ */