]> The Tcpdump Group git mirrors - libpcap/commit
Fix crashing bug with pcap_next{_ex}() and savefiles.
authorGuy Harris <[email protected]>
Mon, 15 Jul 2013 18:08:49 +0000 (11:08 -0700)
committerGuy Harris <[email protected]>
Mon, 15 Jul 2013 18:08:49 +0000 (11:08 -0700)
commitfa7e29171ef9b446b66e27a902fc317281e056ee
tree36ab7ea92e674386f912fed44b3e5ec9d1b4041f
parent6e0c54a8f9640973e95ae755e6f60e1cceb7985f
Fix crashing bug with pcap_next{_ex}() and savefiles.

Now that we're initializing the ops vector of a pcap_t for a savefile in
savefile.c, we need to export pcap_oneshot() from pcap.c and set the
one-shot op to it for savefiles.

Fix a typo in a comment while we're at it.
pcap-int.h
pcap.c
savefile.c