aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dplay.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2018-08-30 15:11:57 +0200
committerAnders Broman <a.broman58@gmail.com>2018-08-30 15:29:59 +0000
commit942bb3ea7c4342978ad3cbfe73fb9ca0c460d587 (patch)
tree3d68101dbc0ec184acdc4059fb9a9d588722ab7f /epan/dissectors/packet-dplay.c
parent20c41b689b0520ac611dfe30ef133d3acdcbe67a (diff)
DPLAY: fix heuristic check
Regression introduced in 9c3be9d5 Bug: 15092 Change-Id: If52b1dfe05c8093d93ef6ed52cd38f3b2263e9e3 Reviewed-on: https://code.wireshark.org/review/29351 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-dplay.c')
-rw-r--r--epan/dissectors/packet-dplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dplay.c b/epan/dissectors/packet-dplay.c
index bb2f68893f..341cbecdc3 100644
--- a/epan/dissectors/packet-dplay.c
+++ b/epan/dissectors/packet-dplay.c
@@ -1115,7 +1115,7 @@ static gboolean heur_dissect_dplay(tvbuff_t *tvb, packet_info *pinfo, proto_tree
return FALSE;
/* The string play = 0x706c6179 */
- dplay_id = tvb_get_letohl(tvb, 20);
+ dplay_id = tvb_get_ntohl(tvb, 20);
if( dplay_id == 0x706c6179) {
dissect_dplay(tvb, pinfo, tree);
return TRUE;