diff options
author | luigi <luigi@FreeBSD.org> | 2002-08-04 05:16:19 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2002-08-04 05:16:19 +0000 |
commit | 41b5da4c2049fbfc54b3f97d64a948c223195e3e (patch) | |
tree | cfc205fb78bd05d8969575fc9dc2ff5dfffa2ce2 /sbin/ipfw | |
parent | 93ee0b7e933fea3dcfe0548a7000ca5812f52c1b (diff) | |
download | FreeBSD-src-41b5da4c2049fbfc54b3f97d64a948c223195e3e.zip FreeBSD-src-41b5da4c2049fbfc54b3f97d64a948c223195e3e.tar.gz |
Fix generation of check-state rules, which i broke in last commit.
Diffstat (limited to 'sbin/ipfw')
-rw-r--r-- | sbin/ipfw/ipfw2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c index 0bcc482..31458e6 100644 --- a/sbin/ipfw/ipfw2.c +++ b/sbin/ipfw/ipfw2.c @@ -2776,7 +2776,7 @@ done: /* * 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; |