diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-01-04 20:44:50 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-01-04 20:44:50 +0000 |
commit | b135e5f680040114cfe1613fcc6a59c286aaeb82 (patch) | |
tree | ea13ac4464ea8ed6271e4ad5544822eff9a19d28 /packet-stun.c | |
parent | 17eff22bd342667bd89a0500bb3bd4dada949ae7 (diff) |
From Shiang-Ming Huang: bug fix.
svn path=/trunk/; revision=9546
Diffstat (limited to 'packet-stun.c')
-rw-r--r-- | packet-stun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-stun.c b/packet-stun.c index 198d605b88..d8ed4d5152 100644 --- a/packet-stun.c +++ b/packet-stun.c @@ -2,7 +2,7 @@ * Routines for Simple Traversal of UDP Through NAT dissection * Copyright 2003, Shiang-Ming Huang <smhuang@pcs.csie.nctu.edu.tw> * - * $Id: packet-stun.c,v 1.3 2003/09/05 04:39:19 guy Exp $ + * $Id: packet-stun.c,v 1.4 2004/01/04 20:44:50 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -254,7 +254,7 @@ dissect_stun(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) case MESSAGE_INTEGRITY: proto_tree_add_item(att_tree, stun_att_type, tvb, offset, 2, FALSE); proto_tree_add_item(att_tree, stun_att_length, tvb, offset+2, 2, FALSE); - proto_tree_add_item(att_tree, stun_att_length, tvb, offset+2, att_length, FALSE); + proto_tree_add_item(att_tree, stun_att_value, tvb, offset+4, att_length, FALSE); offset = offset+(ATTR_HDR_LEN+att_length); |