diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-01-17 21:29:53 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-01-17 21:29:53 +0000 |
commit | bb2b650c9b788b2fa4d207b0e2f1a7d575462993 (patch) | |
tree | d56ea0ba046fdcbe8a12fd834426e78562d01656 /wiretap | |
parent | 27bc256702703efe9021c2d625b245ee4e86e65a (diff) | |
download | wireshark-bb2b650c9b788b2fa4d207b0e2f1a7d575462993.tar.gz wireshark-bb2b650c9b788b2fa4d207b0e2f1a7d575462993.tar.bz2 wireshark-bb2b650c9b788b2fa4d207b0e2f1a7d575462993.zip |
Update a comment to reflect reality (we no longer skip all the extra
headers, we look at REC_HEADER2 records).
svn path=/trunk/; revision=2911
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/ngsniffer.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/wiretap/ngsniffer.c b/wiretap/ngsniffer.c index e234632fa1..73478fb7b6 100644 --- a/wiretap/ngsniffer.c +++ b/wiretap/ngsniffer.c @@ -1,6 +1,6 @@ /* ngsniffer.c * - * $Id: ngsniffer.c,v 1.61 2001/01/17 18:58:42 jfoster Exp $ + * $Id: ngsniffer.c,v 1.62 2001/01/17 21:29:53 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org> @@ -443,7 +443,9 @@ int ngsniffer_open(wtap *wth, int *err) /* * We don't know how to handle the remaining header record types, - * so we just skip them + * so we just skip them - except for REC_HEADER2 records, which + * we look at, for "Internetwork analyzer" captures, to attempt to + * determine what the link-layer encapsulation is. */ if (skip_header_records(wth, err, version.maj_vers) < 0) return -1; |