diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-01-10 14:42:55 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-01-10 14:42:55 +0000 |
commit | addba667499a54c208972f9f32770225957e7492 (patch) | |
tree | 6aae7b3eb82e8efd90f897a395433bf42816e870 /epan/dissectors/packet-fcfcs.c | |
parent | aa2d38ffb30f7dfd9274a27416282bb5b8da4425 (diff) |
Use glib equivalent of ntohs
svn path=/trunk/; revision=24056
Diffstat (limited to 'epan/dissectors/packet-fcfcs.c')
-rw-r--r-- | epan/dissectors/packet-fcfcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-fcfcs.c b/epan/dissectors/packet-fcfcs.c index 4b4dd57f16..5810a3aa34 100644 --- a/epan/dissectors/packet-fcfcs.c +++ b/epan/dissectors/packet-fcfcs.c @@ -814,9 +814,9 @@ dissect_fcfcs (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) tvb_memcpy (tvb, (guint8 *)&cthdr, offset, FCCT_PRMBL_SIZE); cthdr.revision = tvb_get_guint8 (tvb, offset); cthdr.in_id = tvb_get_ntoh24 (tvb, offset+1); - cthdr.opcode = ntohs (cthdr.opcode); + cthdr.opcode = g_ntohs (cthdr.opcode); opcode = tvb_get_ntohs (tvb, offset+8); - cthdr.maxres_size = ntohs (cthdr.maxres_size); + cthdr.maxres_size = g_ntohs (cthdr.maxres_size); if ((opcode != FCCT_MSG_ACC) && (opcode != FCCT_MSG_RJT)) { conversation = find_conversation (pinfo->fd->num, &pinfo->src, &pinfo->dst, |