diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-11-08 09:53:01 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-11-08 09:53:01 +0000 |
commit | 853da2eb9ba1732b37d3f47319bc94471d9c0e16 (patch) | |
tree | 94f8afdae71f496fe638550f9e2cea926195b8ee /wiretap/visual.c | |
parent | 5cec175b071b85c7cd392350e2fcc246dc20d41d (diff) | |
download | wireshark-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 'wiretap/visual.c')
-rw-r--r-- | wiretap/visual.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/visual.c b/wiretap/visual.c index 3fc3384621..c0bf4d3ee2 100644 --- a/wiretap/visual.c +++ b/wiretap/visual.c @@ -260,7 +260,7 @@ int visual_open(wtap *wth, int *err, gchar **err_info) } /* Fill in the wiretap struct with data from the file header */ - wth->file_type = WTAP_FILE_VISUAL_NETWORKS; + wth->file_type_subtype = WTAP_FILE_TYPE_SUBTYPE_VISUAL_NETWORKS; wth->file_encap = encap; wth->snapshot_length = pletohs(&vfile_hdr.max_length); |