Commit Graph

2 Commits

Author SHA1 Message Date
Denis Ovsienko
40e217a816 Stick with one version of pcap_dump_ftell.c.
It looks like CMake after commit 3e9e2b6 started to use the newly added
missing/pcap_dump_ftell.c to make pcap_dump_ftell() available in tcpdump
if libpcap does not have it. However, autotools continued to use the
previously existing ./pcap_dump_ftell.c for the same purpose. Remove the
previously existing file and amend autotools files to cover
pcap_dump_ftell() the same way as the other functions in the missing/
directory files.

Amend missing/pcap_dump_ftell.c not to use pcap_dump_file(), as it may be
unavailable.

This has been tested to work with libpcap 0.6.1.
2018-07-28 13:36:17 +01:00
Guy Harris
3e9e2b62b8 Create the missing/pcap_dump_ftell.c that's expected by autotools and CMake. 2018-01-26 00:10:48 -08:00