summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-pfsync.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-01-04 01:13:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-01-04 01:13:22 +0000
commit27102e11b2aa1c9c0167357614263e22d1dad90b (patch)
tree43b1a8eb83dff1251e5569948949f207cf2b03f1 /usr.sbin/tcpdump/print-pfsync.c
parent45c1c18fc00aa5af4c923d350e0b34e3a20f684c (diff)
workaround until pf fixes this
Diffstat (limited to 'usr.sbin/tcpdump/print-pfsync.c')
-rw-r--r--usr.sbin/tcpdump/print-pfsync.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/print-pfsync.c b/usr.sbin/tcpdump/print-pfsync.c
index b7ac3942852..9ce002dc806 100644
--- a/usr.sbin/tcpdump/print-pfsync.c
+++ b/usr.sbin/tcpdump/print-pfsync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-pfsync.c,v 1.5 2002/12/23 18:55:53 mickey Exp $ */
+/* $OpenBSD: print-pfsync.c,v 1.6 2003/01/04 01:13:21 deraadt Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -28,7 +28,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-pfsync.c,v 1.5 2002/12/23 18:55:53 mickey Exp $";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-pfsync.c,v 1.6 2003/01/04 01:13:21 deraadt Exp $";
#endif
#include <sys/param.h>
@@ -60,7 +60,7 @@ struct rtentry;
#include "interface.h"
#include "addrtoname.h"
#include "pfctl_parser.h"
-#include "pf_print_state.h"
+#include "pfctl.h"
const char *pfsync_acts[] = { PFSYNC_ACTIONS };
@@ -129,3 +129,10 @@ pfsync_if_print(u_char *user, const struct pcap_pkthdr *h,
out:
putchar('\n');
}
+
+int
+pfr_unwrap_table(struct pfr_table *tbl, struct pf_addr_wrap *wrap,
+ int flags)
+{
+ return -1;
+}