diff options
Diffstat (limited to 'epan/dissectors/packet-ocfs2.c')
-rw-r--r-- | epan/dissectors/packet-ocfs2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ocfs2.c b/epan/dissectors/packet-ocfs2.c index 4195ce4a57..ece7dd59ba 100644 --- a/epan/dissectors/packet-ocfs2.c +++ b/epan/dissectors/packet-ocfs2.c @@ -1158,7 +1158,7 @@ get_ocfs2_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset, void *data guint16 plen; /* Get the length of the data from header. */ - plen = tvb_get_letohs(tvb, offset + 2); + plen = tvb_get_ntohs(tvb, offset + 2); /* That length doesn't include the header itself, add that in. */ return plen + 24; |