On Tue, Jul 30, 2002 at 09:47:16PM -0700, Chris Waters wrote: > Here is a patch for the 802.11 dissector that computes the FCS over the > received data and compares it against the received FCS. It leverages the WEP > CRC table.
Checked in (with "unsigned long" changed to "guint32", as the CRC is 32 bits, and "unsigned long" isn't always 32 bits). > + unsigned long fcs = crc32(tvb_get_ptr(tvb, 0, hdr_len + len), hdr_len + > len); It appears that your mail program "helpfully" split lines, so I had to manually un-split them in the patch; if patches are sent as attachements, they're less likely to have their lines "helpfully" split, or have tabs "helpfully" converted to spaces, by mail software.
