Wireshark-commits: [Wireshark-commits] rev 43048: /trunk/ /trunk/: file.c

Date: Sun, 03 Jun 2012 23:38:11 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43048

User: guy
Date: 2012/06/03 04:38 PM

Log:
 As we might use cf->lnk_t while a capture is in progress, we need up
 update it after each burst of packets.  (This is broken - we should have
 cf->lnk_t be WTAP_ENCAP_PER_PACKET in all capture file formats that can
 handle more than one packet type, and, in order to support writing out
 *some* such files in formats that can only handle one packet type, just
 use the type of the first packet when doing a one-pass operation and
 gather up all the packet types in a multi-pass operation.)

Directory: /trunk/
  Changes    Path          Action
  +6 -4      file.c        Modified