aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gtp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-07-16 16:38:02 -0700
committerGuy Harris <guy@alum.mit.edu>2019-07-16 23:38:35 +0000
commit705942f7963e5f02253b630ebc08d375332fd68d (patch)
tree83488998acbfcc1f452fa439f910d1b460f826cc /epan/dissectors/packet-gtp.c
parentce1adf9862709c1b3d77b14bfac20626e5c5f723 (diff)
Ask in a comment about DNS-style domain names.
Change-Id: Idcf5ed5db1d04f48849e458d85c3a04e6d1d8d43 Reviewed-on: https://code.wireshark.org/review/33979 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-gtp.c')
-rw-r--r--epan/dissectors/packet-gtp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/dissectors/packet-gtp.c b/epan/dissectors/packet-gtp.c
index 1f4ff9de46..1b834a42a4 100644
--- a/epan/dissectors/packet-gtp.c
+++ b/epan/dissectors/packet-gtp.c
@@ -5490,6 +5490,14 @@ decode_apn(tvbuff_t * tvb, int offset, guint16 length, proto_tree * tree, proto_
guint8 str[MAX_APN_LENGTH+1];
guint curr_len;
+ /*
+ * This is "a domain name represented as a sequence of labels, where
+ * each label consists of a length octet followed by that number of
+ * octets.", DNS-style.
+ *
+ * XXX - does it involve compression?
+ */
+
/* init buffer and copy it */
memset(str, 0, MAX_APN_LENGTH+1);
tvb_memcpy(tvb, str, offset, length<MAX_APN_LENGTH?length:MAX_APN_LENGTH);