dect
/
libpcap
Archived
13
0
Fork 0

From Peter Volkov:

Fix typo

    pkt_for_oneshot is not difined anywhere, but oneshot_userdata is.
This commit is contained in:
Guy Harris 2009-07-22 23:53:22 -07:00
parent 6de2dedb10
commit a5b84cdc4f
1 changed files with 1 additions and 1 deletions

View File

@ -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;