summaryrefslogtreecommitdiff
path: root/randpkt.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-11-08 09:53:01 +0000
committerGuy Harris <guy@alum.mit.edu>2013-11-08 09:53:01 +0000
commit853da2eb9ba1732b37d3f47319bc94471d9c0e16 (patch)
tree94f8afdae71f496fe638550f9e2cea926195b8ee /randpkt.c
parent5cec175b071b85c7cd392350e2fcc246dc20d41d (diff)
downloadwireshark-853da2eb9ba1732b37d3f47319bc94471d9c0e16.tar.gz
The "file types" we have are actually combinations of types and
subtypes, e.g. Network Monitor version 1 and Network Monitor version 2 are separate "file types", even though they both come from Network Monitor. Rename various functions, #defines, and variables appropriately. svn path=/trunk/; revision=53166
Diffstat (limited to 'randpkt.c')
-rw-r--r--randpkt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/randpkt.c b/randpkt.c
index 2316e71af6..e1695a2caa 100644
--- a/randpkt.c
+++ b/randpkt.c
@@ -552,7 +552,7 @@ main(int argc, char **argv)
example = find_example(produce_type);
- dump = wtap_dump_open(produce_filename, WTAP_FILE_PCAP,
+ dump = wtap_dump_open(produce_filename, WTAP_FILE_TYPE_SUBTYPE_PCAP,
example->sample_wtap_encap, produce_max_bytes, FALSE /* compressed */, &err);
if (!dump) {
fprintf(stderr,