aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nas_eps.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-01-07 21:37:55 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-01-07 21:37:55 +0000
commit952ccb4b83de86f05d9a951da664aed10f60fbcc (patch)
treee0d89384c07952a5bd6e1930da116ec1064eb520 /epan/dissectors/packet-nas_eps.c
parentf6d8712284511285a1e185602707b7c499524ab2 (diff)
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8168 :
Detect properly the EMM Service Request message svn path=/trunk/; revision=46991
Diffstat (limited to 'epan/dissectors/packet-nas_eps.c')
-rw-r--r--epan/dissectors/packet-nas_eps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-nas_eps.c b/epan/dissectors/packet-nas_eps.c
index d56f8f47bd..3dfc1decb8 100644
--- a/epan/dissectors/packet-nas_eps.c
+++ b/epan/dissectors/packet-nas_eps.c
@@ -4807,7 +4807,7 @@ dissect_nas_eps_plain(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* SERVICE REQUEST (security header type equal to 12 or greater) is not a plain NAS message */
pd = tvb_get_guint8(tvb,offset);
- if (pd >= 0xc0) {
+ if (((pd&0x0f) == 0x07) && ((pd&0xf0) >= 0xc0)) {
col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "Service request");
/* Security header type Security header type 9.3.1 M V 1/2 */
proto_tree_add_item(nas_eps_tree, hf_nas_eps_security_header_type, tvb, 0, 1, ENC_BIG_ENDIAN);