Pass a pcap_options * instead of a pcap_options **.
svn path=/trunk/; revision=37341
This commit is contained in:
parent
c0922b93b6
commit
9be282951b
|
@ -1853,7 +1853,7 @@ cap_pipe_open_live(char *pipename,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else /* USE_THREADS */
|
#else /* USE_THREADS */
|
||||||
g_thread_create(&cap_pipe_read, &pcap_opts, FALSE, NULL);
|
g_thread_create(&cap_pipe_read, pcap_opts, FALSE, NULL);
|
||||||
|
|
||||||
pcap_opts->cap_pipe_buf = (char *) &magic;
|
pcap_opts->cap_pipe_buf = (char *) &magic;
|
||||||
pcap_opts->cap_pipe_bytes_read = 0;
|
pcap_opts->cap_pipe_bytes_read = 0;
|
||||||
|
|
Loading…
Reference in New Issue