aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_common.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-01-01 22:54:30 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-01-01 22:54:30 +0000
commit5e2ccb0ecdeec281d21482f0979efbc880668b60 (patch)
treed82c16aa7b1d154d62d58db7cf4b48808306856e /epan/dissectors/packet-gsm_a_common.c
parent43e5bd228f5c2cd315f5867a4fa07081d269f0b0 (diff)
Some more NAS updates.
svn path=/trunk/; revision=27147
Diffstat (limited to 'epan/dissectors/packet-gsm_a_common.c')
-rw-r--r--epan/dissectors/packet-gsm_a_common.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_common.c b/epan/dissectors/packet-gsm_a_common.c
index 085c024c4b..2007d042da 100644
--- a/epan/dissectors/packet-gsm_a_common.c
+++ b/epan/dissectors/packet-gsm_a_common.c
@@ -581,6 +581,9 @@ const char* get_gsm_a_msg_string(int pdu_type, int idx)
case GSM_PDU_TYPE_BSSMAP_LE:
msg_string = gsm_bssmap_le_elem_strings[idx].strptr;
break;
+ case NAS_PDU_TYPE_COMMON:
+ msg_string = nas_eps_common_elem_strings[idx].strptr;
+ break;
case NAS_PDU_TYPE_EMM:
msg_string = nas_emm_elem_strings[idx].strptr;
break;
@@ -620,6 +623,9 @@ static int get_hf_elem_id(int pdu_type)
case GSM_PDU_TYPE_BSSMAP_LE:
hf_elem_id = hf_gsm_bssmap_le_elem_id;
break;
+ case NAS_PDU_TYPE_COMMON:
+ hf_elem_id = hf_nas_eps_common_elem_id;
+ break;
case NAS_PDU_TYPE_EMM:
hf_elem_id = hf_nas_emm_elem_id;
break;
@@ -2086,7 +2092,7 @@ de_prio(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len _U_, gchar *a
/*
* [3] 10.5.1.13 PLMN list
*/
-static guint16
+guint16
de_plmn_list(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gchar *add_string, int string_len)
{
guint8 octs[3];