Put in a comment about encapsulation hint values.

svn path=/trunk/; revision=23576
This commit is contained in:
Guy Harris 2007-11-25 00:50:49 +00:00
parent 1304dbf5f6
commit 274c8c8670
1 changed files with 8 additions and 1 deletions

View File

@ -433,7 +433,14 @@ static gboolean visual_read(wtap *wth, int *err, gchar **err_info,
/* Fill in the encapsulation. Visual files have a media type in the
file header and an encapsulation type in each packet header. Files
with a media type of HDLC can be either Cisco EtherType or PPP. */
with a media type of HDLC can be either Cisco EtherType or PPP.
The encapsulation hint values we've seen are:
2 - seen in an Ethernet capture
13 - seen in a PPP capture; possibly also seen in Cisco HDLC
captures
14 - seen in a PPP capture; probably seen only for PPP */
if (wth->file_encap == WTAP_ENCAP_CHDLC_WITH_PHDR)
{
/* If PPP is specified in the encap hint, then use that */