forked from osmocom/wireshark
Fix comments.
Change-Id: Ie9fe895a2763e74a5f1e25f3f1b9d63e02c0bd71 Reviewed-on: https://code.wireshark.org/review/23532 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
4f34f4296c
commit
1e26510a6a
|
@ -1233,8 +1233,10 @@ static gboolean vwr_read_s1_W_rec(vwr_t *vwr, struct wtap_pkthdr *phdr,
|
|||
* The packet data does *not* include the FCS - it's just 4 bytes
|
||||
* of junk - so we have to remove it.
|
||||
*
|
||||
* We'll be stripping off an FCS (?), so make sure we have at
|
||||
* least 4 octets worth of FCS.
|
||||
* We'll be stripping off that junk, so make sure we have at least
|
||||
* 4 octets worth of packet data.
|
||||
*
|
||||
* There seems to be a special case of a length of 0.
|
||||
*/
|
||||
if (actual_octets < 4) {
|
||||
if (actual_octets != 0) {
|
||||
|
@ -1631,8 +1633,10 @@ static gboolean vwr_read_s2_W_rec(vwr_t *vwr, struct wtap_pkthdr *phdr,
|
|||
* The packet data does *not* include the FCS - it's just 4 bytes
|
||||
* of junk - so we have to remove it.
|
||||
*
|
||||
* We'll be stripping off an FCS (?), so make sure we have at
|
||||
* least 4 octets worth of FCS.
|
||||
* We'll be stripping off that junk, so make sure we have at least
|
||||
* 4 octets worth of packet data.
|
||||
*
|
||||
* There seems to be a special case of a length of 0.
|
||||
*/
|
||||
if (actual_octets < 4) {
|
||||
if (actual_octets != 0) {
|
||||
|
@ -2114,11 +2118,13 @@ static gboolean vwr_read_s3_W_rec(vwr_t *vwr, struct wtap_pkthdr *phdr,
|
|||
* The packet data does *not* include the FCS - it's just 4 bytes
|
||||
* of junk - so we have to remove it.
|
||||
*
|
||||
* We'll be stripping off an FCS (?), so make sure we have at
|
||||
* least 4 octets worth of FCS.
|
||||
* We'll be stripping off that junk, so make sure we have at
|
||||
* least 4 octets worth of packet data.
|
||||
*
|
||||
* XXX - is the FCS actually present here, as it appears to be
|
||||
* if log_mode isn't 3?
|
||||
*
|
||||
* There seems to be a special case of a length of 0.
|
||||
*/
|
||||
if (actual_octets < 4) {
|
||||
if (actual_octets != 0) {
|
||||
|
@ -2624,8 +2630,8 @@ static gboolean vwr_read_rec_data_ethernet(vwr_t *vwr, struct wtap_pkthdr *phdr,
|
|||
* The packet data does *not* include the FCS - it's just 4 bytes
|
||||
* of junk - so we have to remove it.
|
||||
*
|
||||
* We'll be stripping off an FCS (?), so make sure we have at
|
||||
* least 4 octets worth of FCS.
|
||||
* We'll be stripping off that junk, so make sure we have at least
|
||||
* 4 octets worth of packet data.
|
||||
*
|
||||
* There seems to be a special case of a length of 0.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue