diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2008-05-29 06:07:38 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2008-05-29 06:07:38 +0000 |
commit | 031c0125ab0f5d1589b9c347fa5c32c4b1513d10 (patch) | |
tree | 275024578c592755779f8baf9b49178d462873c5 /net/pfflowd/files/patch-pfflowd.h | |
parent | TCLink is a thin client API that allows a merchant to process credit card (diff) |
- Unbreak for pf < 3.7
Submitted by: thompsa
Notes
Notes:
svn path=/head/; revision=213850
Diffstat (limited to 'net/pfflowd/files/patch-pfflowd.h')
-rw-r--r-- | net/pfflowd/files/patch-pfflowd.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net/pfflowd/files/patch-pfflowd.h b/net/pfflowd/files/patch-pfflowd.h new file mode 100644 index 000000000000..a86f49a5ad1f --- /dev/null +++ b/net/pfflowd/files/patch-pfflowd.h @@ -0,0 +1,25 @@ +--- pfflowd.h.orig 2008-05-28 12:04:42.000000000 -0700 ++++ pfflowd.h 2008-05-28 12:07:06.000000000 -0700 +@@ -21,7 +21,7 @@ + #define PROGVER "0.7" + + #ifndef PRIVDROP_USER +-# define PRIVDROP_USER "_pfflowd" ++# define PRIVDROP_USER "nobody" + #endif + + #define PRIVDROP_CHROOT_DIR "/var/empty" +@@ -29,7 +29,12 @@ + #define DEFAULT_INTERFACE "pfsync0" + #define LIBPCAP_SNAPLEN 2020 /* Default MTU */ + +-#define _PFSYNC_VER 3 ++#ifdef OLD_PFSYNC ++# define _PFSYNC_STATE pfsync_state ++# define _PFSYNC_VER 2 ++#else ++# define _PFSYNC_VER 3 ++#endif + + /* + * This is the Cisco Netflow(tm) version 1 packet format |