aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_gm.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-11-29 22:25:21 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-11-29 22:25:21 +0000
commitf40538afeb01c79d48f202666a8ecf583aac7039 (patch)
treec9f4eef348792379b56932647fb5061061dabcde /epan/dissectors/packet-gsm_a_gm.c
parent38689e5c2b458fa9dc45e29701602bc04584d9f9 (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 svn path=/trunk/; revision=40044
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_)