summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorChristopher Pascoe <pascoe@cvs.openbsd.org>2005-08-03 00:51:44 +0000
committerChristopher Pascoe <pascoe@cvs.openbsd.org>2005-08-03 00:51:44 +0000
commit72ee18dae7383b73b880889d370525a0e4c38a12 (patch)
tree9bdb889d470b3073319790adedacc95a25ace779 /sys
parente2aa2ca1087351316d7dabe4b9c1dad88c942e2a (diff)
use flag macro instead of constant
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_pfsync.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/if_pfsync.h b/sys/net/if_pfsync.h
index ffa57b7993a..2cd966a6bbe 100644
--- a/sys/net/if_pfsync.h
+++ b/sys/net/if_pfsync.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pfsync.h,v 1.20 2005/05/28 15:10:07 ho Exp $ */
+/* $OpenBSD: if_pfsync.h,v 1.21 2005/08/03 00:51:43 pascoe Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -285,7 +285,8 @@ int pfsync_pack_state(u_int8_t, struct pf_state *, int);
(st->proto == IPPROTO_PFSYNC)) \
st->sync_flags |= PFSTATE_NOSYNC; \
else if (!st->sync_flags) \
- pfsync_pack_state(PFSYNC_ACT_INS, (st), 1); \
+ pfsync_pack_state(PFSYNC_ACT_INS, (st), \
+ PFSYNC_FLAG_COMPRESS); \
st->sync_flags &= ~PFSTATE_FROMSYNC; \
} while (0)
#define pfsync_update_state(st) do { \