diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-05-29 02:19:49 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-05-29 02:19:49 +0000 |
commit | 7d72c3c429be40f26c8aea1e9fbcca3ecb020e7b (patch) | |
tree | 7e97522b6450c4065a1523ec29b6fa14eec6f200 /wiretap/file.c | |
parent | 2e936ea423ad84b5755994a0d28dfeb35a9c6589 (diff) |
Check for EtherPeek files before checking for pppdump files; the
EtherPeek heuristic is a bit stronger, and there's at least one
EtherPeek capture that gets misidentified as a pppdump capture if you
check for pppdump captures first.
svn path=/trunk/; revision=5585
Diffstat (limited to 'wiretap/file.c')
-rw-r--r-- | wiretap/file.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/wiretap/file.c b/wiretap/file.c index fb894abd05..178a109237 100644 --- a/wiretap/file.c +++ b/wiretap/file.c @@ -1,6 +1,6 @@ /* file.c * - * $Id: file.c,v 1.89 2002/05/28 02:39:15 guy Exp $ + * $Id: file.c,v 1.90 2002/05/29 02:19:49 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -104,14 +104,15 @@ static int (*open_routines[])(wtap *, int *) = { radcom_open, nettl_open, visual_open, - pppdump_open, /* Files that don't have magic bytes at a fixed location, * but that instead require a heuristic of some sort to * identify them. This includes the ASCII trace files that - * would be saved copies of a Telnet session to some box. + * would be, for example, saved copies of a Telnet session + * to some box. */ etherpeek_open, + pppdump_open, ascend_open, toshiba_open, i4btrace_open, |