diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-11-21 08:44:21 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-11-21 08:44:21 +0000 |
commit | 11df1e182b5300fae1710a66dc7d8710b7994eed (patch) | |
tree | 4f145253d4e090efce373f35e6efe4a548aaeaa0 /epan/dissectors/packet-kpasswd.c | |
parent | 0c22180f93fc8d85812f5bf46ad708eee4e16e88 (diff) |
the result code, encoded within the userdata is in network byte order not little endian.
this makes a difference for the cases where the result code is not KPASSWD_SUCCESS == 0x0000
svn path=/trunk/; revision=19945
Diffstat (limited to 'epan/dissectors/packet-kpasswd.c')
-rw-r--r-- | epan/dissectors/packet-kpasswd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-kpasswd.c b/epan/dissectors/packet-kpasswd.c index d3fc114e9f..c478bbd895 100644 --- a/epan/dissectors/packet-kpasswd.c +++ b/epan/dissectors/packet-kpasswd.c @@ -141,7 +141,7 @@ dissect_kpasswd_user_data_reply(packet_info *pinfo, tvbuff_t *tvb, proto_tree *t guint16 result; /* result */ - result = tvb_get_letohs(tvb, offset); + result = tvb_get_ntohs(tvb, offset); proto_tree_add_uint(tree, hf_kpasswd_result, tvb, offset, 2, result); offset+=2; if (check_col(pinfo->cinfo, COL_INFO)) |