host: handle timeout

Set expiration for regular hostbits keyword.
pull/1422/head
Victor Julien 11 years ago
parent ab7882fbf3
commit 00d6298666

@ -388,6 +388,7 @@ int DetectHostbitSetup (DetectEngineCtx *de_ctx, Signature *s, char *rawstr)
cd->cmd = fb_cmd;
cd->tracker = hb_dir;
cd->type = VAR_TYPE_HOST_BIT;
cd->expire = 300;
SCLogDebug("idx %" PRIu32 ", cmd %s, name %s",
cd->idx, fb_cmd_str, strlen(fb_name) ? fb_name : "(none)");

Loading…
Cancel
Save