Wireshark-commits: [Wireshark-commits] rev 37908: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Tue, 05 Jul 2011 23:14:05 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=37908

User: guy
Date: 2011/07/05 04:14 PM

Log:
 The #if 0'ed out code was being used; #if 0'ing it out meant that some
 items didn't get put into the protocol tree.  See, for example, the
 4548-Bug4668.pcap capture in the Wireshark menagerie (and attached to
 bug 4668).
 
 Instead, replace the #if 0'ed out code with code that does what the
 non-commented-out line of code did, but doesn't assign to the unused and
 now non-existent pi variable.
 
 Make the "hf_id != -1" case the first one, as that should be the
 "normal" case.

Directory: /trunk/epan/dissectors/
  Changes    Path                   Action
  +8 -6      packet-dis-fields.c    Modified