diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-08-17 17:32:16 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-08-18 00:32:59 +0000 |
commit | b8293f95ad18bc1cc00363627471c880d0f4e5a2 (patch) | |
tree | 2890b829b49e846fc17833718bf6a373320079e7 /wiretap/file_access.c | |
parent | 6a8267270f57c11dd63b6ef6970074ab962da87b (diff) |
If we don't find a NetScaler signature, don't report an error.
It's *NOT* an error; it's just a file that isn't a NetScaler file.
Otherwise, we report errors on files that should just be passed on to
other open routines.
Also, NetScaler files are *NOT* text files, and we should *NOT* use
".txt" as the suffix.
Change-Id: If001abbbbc3de3ea27439a44a47ce1d6071d38ae
Reviewed-on: https://code.wireshark.org/review/3678
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap/file_access.c')
-rw-r--r-- | wiretap/file_access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c index a9c02d7341..ad0ee8f447 100644 --- a/wiretap/file_access.c +++ b/wiretap/file_access.c @@ -361,7 +361,7 @@ static struct open_info open_info_base[] = { { "Cosine", OPEN_INFO_HEURISTIC, cosine_open, "txt", NULL, NULL }, { "Hcidump", OPEN_INFO_HEURISTIC, hcidump_open, NULL, NULL, NULL }, { "Commview", OPEN_INFO_HEURISTIC, commview_open, "ncf", NULL, NULL }, - { "Nstrace", OPEN_INFO_HEURISTIC, nstrace_open, "txt", NULL, NULL }, + { "Nstrace", OPEN_INFO_HEURISTIC, nstrace_open, "cap", NULL, NULL }, { "Logcat ", OPEN_INFO_HEURISTIC, logcat_open, "logcat", NULL, NULL }, { "Logcat Text", OPEN_INFO_HEURISTIC, logcat_text_open, "txt", NULL, NULL }, /* ASCII trace files from Telnet sessions. */ |