diff options
author | Florian Fainelli <florian@openwrt.org> | 2014-02-28 01:37:00 +0100 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-02-28 00:40:25 +0000 |
commit | e6277bdedde6e3b695cdfbb4dfb5b269273dc687 (patch) | |
tree | 99552d31ad1b6fd537a9a5595df48b70bd3eb6a5 /epan/dissectors | |
parent | 54cccefef604dd5a128512fa4c9d04cf8b25d55b (diff) |
packet-homeplug-av: fix missing reserved byte for station dump
dissect_homeplug_av_nw_info_sta() was processing stations
information correctly, except that after the first station dump, all
dumps would be off-by-one byte because we were not reserving a missing
byte at the end of the station dump. Fixes #9798.
Change-Id: Iff3afd5ff536ae718fa446de3c59cd5e9851ff20
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Reviewed-on: https://code.wireshark.org/review/427
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-homeplug-av.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-homeplug-av.c b/epan/dissectors/packet-homeplug-av.c index 60c8373b59..8f9a76ce91 100644 --- a/epan/dissectors/packet-homeplug-av.c +++ b/epan/dissectors/packet-homeplug-av.c @@ -1404,7 +1404,7 @@ dissect_homeplug_av_nw_info_sta(ptvcursor_t *cursor, gboolean vendor, guint home ptvcursor_add(cursor, hf_homeplug_av11_nw_info_sta_cpling_rx, 1, ENC_BIG_ENDIAN); ptvcursor_add(cursor, hf_homeplug_av_reserved, 1, ENC_NA); ptvcursor_add(cursor, hf_homeplug_av11_nw_info_sta_phy_dr_rx, 2, ENC_LITTLE_ENDIAN); - ptvcursor_add(cursor, hf_homeplug_av_reserved, 1, ENC_NA); + ptvcursor_add(cursor, hf_homeplug_av_reserved, 2, ENC_NA); } } ptvcursor_pop_subtree(cursor); |