Wireshark-commits: [Wireshark-commits] rev 23118: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-sctp.c
: Tue, 09 Oct 2007 18:58:36 GMT
Date: 2007/10/09 06:58 PM
Replace a (small) for loop with a memset(). Don't memset() the entire sctp_info.tvb array--it contains 2k pointers (8k or 16k of memory)--each time we start dissecting a frame. This speeds up loading a capture file full of SCTP packets by 6-8%.
Changes Path Action
+14 -5 packet-sctp.c Modified