aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pcap-linux.c2
1 files changed, 1 insertions, 1 deletions
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;