diff options
author | Michael Mann <mmann78@netscape.net> | 2016-07-23 14:03:32 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-07-23 18:55:12 +0000 |
commit | c07bf81082f22e102c4aed00d7ecfdffd1eeb8ed (patch) | |
tree | cf552d5a1438be9ebba17cf694f01d2edb5b8f89 | |
parent | a02e90da41a92baf909865e2361fb6701d0a8432 (diff) | |
download | wireshark-c07bf81082f22e102c4aed00d7ecfdffd1eeb8ed.tar.gz |
packet-socketcan.c - Add subdissector name to layer list.
This allows GTK Decode As to function properly if CAN subdissector
has a dissector table.
Change-Id: I5eb3642c34642302939d27e844fe93f626ba039c
Reviewed-on: https://code.wireshark.org/review/16606
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r-- | epan/dissectors/packet-socketcan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-socketcan.c b/epan/dissectors/packet-socketcan.c index 059696e779..f392a1d93c 100644 --- a/epan/dissectors/packet-socketcan.c +++ b/epan/dissectors/packet-socketcan.c @@ -150,7 +150,7 @@ dissect_socketcan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* dat /* Functionality for choosing subdissector is controlled through Decode As as CAN doesn't have a unique identifier to determine subdissector */ - if (!dissector_try_uint_new(subdissector_table, 0, next_tvb, pinfo, tree, FALSE, &can_id)) + if (!dissector_try_uint_new(subdissector_table, 0, next_tvb, pinfo, tree, TRUE, &can_id)) { call_data_dissector(next_tvb, pinfo, tree); } |