Add an XXX comment about some code which will never be executed;

Also: mention that there's a missing hf[] entry.

svn path=/trunk/; revision=47342
This commit is contained in:
Bill Meier 2013-01-29 13:59:17 +00:00
parent 3520ab3889
commit ef242060b8
1 changed files with 3 additions and 0 deletions

View File

@ -947,6 +947,9 @@ wlantap_dissect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_tree
/* If we had an in-header FCS, check it. */
if (hdr_fcs_ti) {
/* XXX: 'hdr_fcs_ti' is never set so the following code will never be executed ? */
/* Also: 'sent fcs' always 0 ? */
/* 'hf_radiotap_fcs_bad' has no entry in hf[] */
/* It would be very strange for the header to have an FCS for the
* frame *and* the frame to have the FCS at the end, but it's possible, so
* take that into account by using the FCS length recorded in pinfo. */