aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gtp.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2007-04-18 06:32:00 +0000
committerAnders Broman <anders.broman@ericsson.com>2007-04-18 06:32:00 +0000
commit5e859c36d7425337e380ca0a88bd062f4d898555 (patch)
tree3e14923337a426b67eb44ef10992f2c3ed6edb79 /epan/dissectors/packet-gtp.c
parent3f3d0d3d440d06cf4d895895dac4f70862b23fc6 (diff)
Add a comment.
svn path=/trunk/; revision=21464
Diffstat (limited to 'epan/dissectors/packet-gtp.c')
-rw-r--r--epan/dissectors/packet-gtp.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gtp.c b/epan/dissectors/packet-gtp.c
index 5bd196fc15..1697a8c454 100644
--- a/epan/dissectors/packet-gtp.c
+++ b/epan/dissectors/packet-gtp.c
@@ -4804,7 +4804,12 @@ decode_gtp_imeisv(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree
proto_tree_add_item(ext_imeisv, hf_gtp_ext_length, tvb, offset, 2, FALSE);
offset = offset +2;
- /* IMEI(SV) */
+ /* IMEI(SV)
+ * The structure of the IMEI and IMEISV are defined in sub-clause 6.2 of 3GPP TS 23.003 [2].
+ * The 'IMEI(SV)' field shall contain the IMEISV if it is available. If only the IMEI is available,
+ * then the IMEI shall be placed in the IMEI(SV) field and the last semi-octet of octet 11 shall be
+ * set to '1111'. Both IMEI and IMEISV are BCD encoded.
+ */
proto_tree_add_item(ext_imeisv, hf_gtp_ext_imeisv, tvb, offset, length, FALSE);
return 3 + length;