aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-stun.c
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2005-02-03 21:11:46 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2005-02-03 21:11:46 +0000
commit8f5a0ddcc5fbf41eea7f9ed07bbf65069f83a9b0 (patch)
treeaae7c79ac848c31aa79d629e07e0ed700968768a /epan/dissectors/packet-stun.c
parentfe17a574dc566354bb865bc3819ea0b0137c1cf7 (diff)
Jon Ringle: bug fix to the stun ERROR-CODE dissecting
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13260 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-stun.c')
-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: