Guy Harris
changed
bug 9280
What |
Removed |
Added |
Hardware |
x86
|
All
|
OS |
Windows 7
|
All
|
Comment # 9
on bug 9280
from Guy Harris
#define FPSIZEDEFV30(phdr,fp,ver)\
do {\
(phdr)->len = pletohs(&fp->fp_PktSizeOrg) +
nspr_pktracefull_v##ver##_s;\
(phdr)->caplen = nspr_getv20recordsize((nspr_hd_v20_t *)fp);\
if ((phdr)->len != (phdr)->caplen)\
{\
(phdr)->presence_flags |= WTAP_HAS_CAP_LEN;\
}\
}while(0)
is incorrect - WTAP_HAS_CAP_LEN doesn't mean "caplen != len", it means "the
packet record contains both a captured length and an on-the-wire length, even
if they happen to be the same".
(It also needs some indentation adjustment for the last line.)
You are receiving this mail because:
- You are watching all bug changes.