diff options
author | Michael Mann <mmann78@netscape.net> | 2019-02-17 13:06:01 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2019-02-17 19:53:42 +0000 |
commit | 24e71ae4f53614a1964c76316e316176ef6c67ec (patch) | |
tree | 432db0bfd1cc1020fd22ed41225f6f1234147e6a /epan/oui.h | |
parent | 4b668430d1b1a0222684c8d70e897505b7685bbb (diff) |
Modbus: If response packet is not found, base registers/coils on byte count.
Previously Modbus dissector was using request data to determine how many coils
or registers to dissect. However, if the request wasn't found, it wouldn't dissect
all of the coil/request data. Now if pkt_info->num_reg is 0, use the byte count in
the packet for determining how many registers/coils there are.
Bug: 15473
Change-Id: I8818ba53187248fea4ccc2b5077985ab94578886
Reviewed-on: https://code.wireshark.org/review/32077
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/oui.h')
0 files changed, 0 insertions, 0 deletions