Wireshark-commits: [Wireshark-commits] rev 30785: /trunk/epan/dissectors/ /trunk/epan/dissectors/:
Date: Sat, 31 Oct 2009 19:44:23 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=30785

User: guy
Date: 2009/10/31 12:44 PM

Log:
 The first field of a MAC Control frame isn't the "pause" field, it's the
 opcode; an opcode of 0x0001 means PAUSE.  Dissect the opcode field even
 if it's not a PAUSE frame.
 
 The second field of a PAUSE frame isn't the "quanta" field, it's the
 pause_time field; it's in *units* of quanta.
 
 Don't fetch fields until we need them (so we don't throw an exception if
 they're missing until we actually look at them).
 
 Clean up indentation.

Directory: /trunk/epan/dissectors/
  Changes    Path                   Action
  +36 -31    packet-maccontrol.c    Modified