aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sgsap.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-02-03 17:45:17 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-02-03 17:45:17 +0000
commit5d6c22fdb88ec24f20efc8e8a31fdb77a0eb77f2 (patch)
tree579a0d36e019ffdf1b6b7d7bdfaf53b2925bd328 /epan/dissectors/packet-sgsap.c
parent7d6e4633e33fe3f8bd36a3bc3d55d1654b03f314 (diff)
Dissect Erroneous message.
svn path=/trunk/; revision=35785
Diffstat (limited to 'epan/dissectors/packet-sgsap.c')
-rw-r--r--epan/dissectors/packet-sgsap.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sgsap.c b/epan/dissectors/packet-sgsap.c
index 4b73d10837..33df0d69c5 100644
--- a/epan/dissectors/packet-sgsap.c
+++ b/epan/dissectors/packet-sgsap.c
@@ -127,7 +127,12 @@ de_sgsap_err_msg(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len _U_,
curr_offset = offset;
- proto_tree_add_text(tree, tvb, curr_offset, len, "IE data not dissected yet");
+ /* 18.4.5 Erroneous message
+ * The Erroneous message IE is a TLV IE that encapsulates the message in error.
+ * Octet 3 - Octet n
+ * Erroneous message including the message type.
+ */
+ proto_tree_add_item(sgsap_tree, hf_sgsap_msg_type, tvb, offset, 1, FALSE);
return(len);
}