ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 9280] Wiretap netscaler trace format v3.0

Date: Fri, 18 Oct 2013 20:18:45 +0000

changed bug 9280

What Removed Added
Hardware x86 All
OS Windows 7 All

Comment # 9 on bug 9280 from
    #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.