Fix generation of check-state rules, which i broke in last commit.
This commit is contained in:
parent
93ee0b7e93
commit
41b5da4c20
@ -2776,7 +2776,7 @@ add(int ac, char *av[])
|
||||
/*
|
||||
* put back the have_state command as last opcode
|
||||
*/
|
||||
if (have_state) {
|
||||
if (have_state && have_state->opcode != O_CHECK_STATE) {
|
||||
i = F_LEN(have_state);
|
||||
bcopy(have_state, dst, i * sizeof(u_int32_t));
|
||||
dst += i;
|
||||
|
Loading…
Reference in New Issue
Block a user