summaryrefslogtreecommitdiff
path: root/wiretap/nettl.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 /wiretap/nettl.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 'wiretap/nettl.c')
-rw-r--r--wiretap/nettl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/nettl.c b/wiretap/nettl.c
index 4e96499fd7..07f9282863 100644
--- a/wiretap/nettl.c
+++ b/wiretap/nettl.c
@@ -223,7 +223,7 @@ int nettl_open(wtap *wth, int *err, gchar **err_info)
}
/* This is an nettl file */
- wth->file_type = WTAP_FILE_NETTL;
+ wth->file_type_subtype = WTAP_FILE_TYPE_SUBTYPE_NETTL;
nettl = g_new(nettl_t,1);
wth->priv = (void *)nettl;
if (file_hdr.os_vers[2] == '1' && file_hdr.os_vers[3] == '1')