Wireshark-commits: [Wireshark-commits] rev 37488: /trunk/ /trunk/: editcap.c

Date: Tue, 31 May 2011 20:24:29 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=37488

User: cmaynard
Date: 2011/05/31 01:24 PM

Log:
 Handle snaplen before choplen for consistency.  Also, if chopping more bytes
 than present, just chop all by setting caplen to 0.  In all cases, don't touch
 len.  In other words, change incl_len but leave orig_len alone.

Directory: /trunk/
  Changes    Path          Action
  +13 -10    editcap.c     Modified