diff options
author | 2012-07-10 09:38:22 +0000 | |
---|---|---|
committer | 2012-07-10 09:38:22 +0000 | |
commit | 643014734128bf599247a8453cc8eb8839a0361b (patch) | |
tree | 14fe2cedd6f03658d930b96b8a8a19bbe19553bb | |
parent | closefrom(STDERR_FILENO + 1) not STDOUT_FILENO so that output actually appears ;-). (diff) | |
download | wireguard-openbsd-643014734128bf599247a8453cc8eb8839a0361b.tar.xz wireguard-openbsd-643014734128bf599247a8453cc8eb8839a0361b.zip |
define a PFSTATE_SCRUBMASK. relying on numeric order of flags is stupid
and bound to break sooner or later.
-rw-r--r-- | sys/net/pfvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index f9b3ec729ef..873f235b0db 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.364 2012/07/07 16:24:32 henning Exp $ */ +/* $OpenBSD: pfvar.h,v 1.365 2012/07/10 09:38:22 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -840,6 +840,7 @@ struct pf_state { #define PFSTATE_SETTOS 0x0040 #define PFSTATE_RANDOMID 0x0080 #define PFSTATE_SCRUB_TCP 0x0100 +#define PFSTATE_SCRUBMASK (PFSTATE_NODF|PFSTATE_RANDOMID|PFSTATE_SCRUB_TCP) u_int8_t log; u_int8_t timeout; u_int8_t sync_state; /* PFSYNC_S_x */ |