Fix generation of check-state rules, which i broke in last commit.
This commit is contained in:
parent
ea5e5b13f8
commit
b985a624a3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101295
@ -2776,7 +2776,7 @@ add(int ac, char *av[])
|
|||||||
/*
|
/*
|
||||||
* put back the have_state command as last opcode
|
* 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);
|
i = F_LEN(have_state);
|
||||||
bcopy(have_state, dst, i * sizeof(u_int32_t));
|
bcopy(have_state, dst, i * sizeof(u_int32_t));
|
||||||
dst += i;
|
dst += i;
|
||||||
|
Loading…
Reference in New Issue
Block a user