aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <gharris@steve.local>2009-07-22 23:53:22 -0700
committerGuy Harris <gharris@steve.local>2009-07-22 23:53:22 -0700
commita5b84cdc4fbb94f0ca02c53299b08c58cec700e0 (patch)
treee143381795022ce76325c5ffe9d303de41daa2fd
parent6de2dedb10df2f18db55e41f59b47824de314279 (diff)
From Peter Volkov:
Fix typo pkt_for_oneshot is not difined anywhere, but oneshot_userdata is.
-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;