aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_gm.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-29 22:25:21 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-29 22:25:21 +0000
commitb1e310651bfef4727460b94e5e203c2e7f02ba79 (patch)
treec9f4eef348792379b56932647fb5061061dabcde /epan/dissectors/packet-gsm_a_gm.c
parentc9098ad921a5cee32a369a70b6ae3b668d0c587d (diff)
From Pascal Quantin:
Currently Wireshark limits the Access Point Name length to 50 bytes. But according to 3GPP 24.008 chapter 10.5.6.1, the maximum length is 100 bytes (102 bytes minus the IEI and length fields) and not 50. The attached patch increases the MAX_APN_LENGTH define value and allow the correct display of an APN with a size greater than 50 bytes. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6628 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40044 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gsm_a_gm.c')
-rw-r--r--epan/dissectors/packet-gsm_a_gm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_gm.c b/epan/dissectors/packet-gsm_a_gm.c
index 8a04b852ff..b06b62b801 100644
--- a/epan/dissectors/packet-gsm_a_gm.c
+++ b/epan/dissectors/packet-gsm_a_gm.c
@@ -3558,7 +3558,7 @@ de_gc_uplink_data_stat(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_,
/*
* [7] 10.5.6.1
*/
-#define MAX_APN_LENGTH 50
+#define MAX_APN_LENGTH 100
guint16
de_sm_apn(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint32 offset, guint len, gchar *add_string, int string_len _U_)