From a5b84cdc4fbb94f0ca02c53299b08c58cec700e0 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 22 Jul 2009 23:53:22 -0700 Subject: From Peter Volkov: Fix typo pkt_for_oneshot is not difined anywhere, but oneshot_userdata is. --- pcap-linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcap-linux.c') diff --git a/pcap-linux.c b/pcap-linux.c index de14a7e..ced2624 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -2744,7 +2744,7 @@ static void pcap_oneshot_mmap(u_char *user, const struct pcap_pkthdr *h, const u_char *bytes) { - struct pkt_for_oneshot *sp = (struct pkt_for_oneshot *)user; + struct oneshot_userdata *sp = (struct oneshot_userdata *)user; bpf_u_int32 copylen; *sp->hdr = *h; -- cgit v1.2.3