commit 9d4989ed4cc00d5cf6c986d88ecdbfc8c3dacd9d Author: Peter Volkov Date: Thu Jul 23 10:44:41 2009 +0400 Fix typo pkt_for_oneshot is not difined anywhere, but oneshot_userdata is. 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;