diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-03-14 19:49:54 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-03-15 02:50:23 +0000 |
commit | a0afd45d8c832fe8679e1400a22f420dab7db468 (patch) | |
tree | 4fd6d955e247dd640d27404c6473ada7c0854dea /wiretap | |
parent | 50b3da03ca80404f9f1f411407c316bdfa0ea485 (diff) | |
download | wireshark-a0afd45d8c832fe8679e1400a22f420dab7db468.tar.gz |
Some records have two statistics blocks; clarify that.
Change-Id: I139cd73f6fff84528e105f9246a4207aa48a68df
Reviewed-on: https://code.wireshark.org/review/666
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/vwr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wiretap/vwr.c b/wiretap/vwr.c index e662016c2a..641c1acc68 100644 --- a/wiretap/vwr.c +++ b/wiretap/vwr.c @@ -1251,10 +1251,10 @@ static int parse_s2_W_stats(vwr_t *vwr, struct wtap_pkthdr *phdr, guint64 delta_b; /* Used for calculating latency */ - /* Calculate the start of the statistics block in the buffer */ - /* Also get a bunch of fields from the stats block */ - s_start_ptr = &(rec[0]); - s_trail_ptr = &(rec[rec_size - vwr->STATS_LEN]); /* point to it */ + /* Calculate the start of the statistics blocks in the buffer */ + /* Also get a bunch of fields from the stats blocks */ + s_start_ptr = &(rec[0]); /* point to stats header */ + s_trail_ptr = &(rec[rec_size - vwr->STATS_LEN]); /* point to stats trailer */ /* L1p info is different for series III and for Series II - need to check */ l1p_1 = s_start_ptr[0]; |