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

This commit is contained in:
Luigi Rizzo 2002-08-04 05:16:19 +00:00
parent ea5e5b13f8
commit b985a624a3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101295

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;