aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-02-03 21:11:46 +0000
committerJörg Mayer <jmayer@loplof.de>2005-02-03 21:11:46 +0000
commit103ced271d546a6874558153f92609b3a7eefdf1 (patch)
treeaae7c79ac848c31aa79d629e07e0ed700968768a /epan
parent7eff647262120b6b210b724574acf2bec273dfee (diff)
Jon Ringle: bug fix to the stun ERROR-CODE dissecting
svn path=/trunk/; revision=13260
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-stun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-stun.c b/epan/dissectors/packet-stun.c
index 296d86fbb4..91b665e03c 100644
--- a/epan/dissectors/packet-stun.c
+++ b/epan/dissectors/packet-stun.c
@@ -267,7 +267,7 @@ dissect_stun(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree_add_item(att_tree, stun_att_error_number, tvb, offset+3, 1, FALSE);
if (att_length < 5)
break;
- proto_tree_add_item(att_tree, stun_att_error_reason, tvb, offset+8, (att_length-4), FALSE);
+ proto_tree_add_item(att_tree, stun_att_error_reason, tvb, offset+4, (att_length-4), FALSE);
break;
case UNKNOWN_ATTRIBUTES: