Fix generation of check-state rules, which i broke in last commit.

This commit is contained in:
luigi 2002-08-04 05:16:19 +00:00
parent 93ee0b7e93
commit 41b5da4c20

View File

@ -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;