summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2009-08-25 06:59:18 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2009-08-25 06:59:18 +0000
commit1505225db17436abc990841f6ef1207de7db47c9 (patch)
tree924f941e75de2493b113ffe19de02c8c0e36bb86
parent64e1c69ccd4bc6743c9900a2501fb2b4f5b4e764 (diff)
djm accidentally changed the type of dirfilt in the prototypes
of pcap_live and priv_pcap_live in rev 1.6 to differ from the implementations, change the type back to what it was. ok djm@
-rw-r--r--usr.sbin/tcpdump/privsep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/privsep.h b/usr.sbin/tcpdump/privsep.h
index 519856e83e6..450cd6b2579 100644
--- a/usr.sbin/tcpdump/privsep.h
+++ b/usr.sbin/tcpdump/privsep.h
@@ -47,11 +47,11 @@ int priv_init(int, char **);
void priv_init_done(void);
int setfilter(int, int, char *);
-int pcap_live(const char *, int, int, u_int, pcap_direction_t);
+int pcap_live(const char *, int, int, u_int, u_int);
struct bpf_program *priv_pcap_setfilter(pcap_t *, int, u_int32_t);
pcap_t *priv_pcap_live(const char *, int, int, int, char *, u_int,
- pcap_direction_t);
+ u_int);
pcap_t *priv_pcap_offline(const char *, char *);
size_t priv_gethostbyaddr(char *, size_t, int, char *, size_t);