ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] rev 31213: /trunk/wiretap/ /trunk/wiretap/: netmon.c

Date: Wed, 09 Dec 2009 03:27:15 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=31213

User: sfisher
Date: 2009/12/08 07:27 PM

Log:
 When reading NetMon capture files version 2.1 and higher (the latest is 2.2 right
 now), the capture file's header encapsulation type is set to 1 for Ethernet for
 backwards compability only.  These files use per-packet encapsulation types
 instead.  For now, set it to Unknown file encapsulation until we can find a
 way to set it to WTAP_ENCAP_PER_PACKET without having to assert in wtap_read()
 so the user can see that it is a per-packet encapulation in places such as
 the capinfos program.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +10 -1     netmon.c      Modified