From 8b8fc662d8e82634bcf5f5d610e5a88419a5a500 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Wed, 20 Mar 2019 12:53:59 +0100 Subject: [PATCH] NAS 5GS: Remove double dissection of NAS key set identifier. Change-Id: I32a2bc558be47db96ffa34abca92e6982940a07d Reviewed-on: https://code.wireshark.org/review/32488 Petri-Dish: Anders Broman Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- epan/dissectors/packet-nas_5gs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epan/dissectors/packet-nas_5gs.c b/epan/dissectors/packet-nas_5gs.c index 4cab7c841f..71aef4a170 100644 --- a/epan/dissectors/packet-nas_5gs.c +++ b/epan/dissectors/packet-nas_5gs.c @@ -3785,8 +3785,8 @@ nas_5gs_mm_registration_req(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, /* 5GS registration type 5GS registration type 9.11.3.7 M V 1/2 H0*/ /* ngKSI NAS key set identifier 9.11.3.32 M V 1/2 H1*/ proto_tree_add_bitmask_list(tree, tvb, offset, 1, nas_5gs_registration_req_flags, ENC_BIG_ENDIAN); - - ELEM_MAND_V(NAS_5GS_PDU_TYPE_MM, DE_NAS_5GS_MM_NAS_KEY_SET_ID, " - ngKSI", ei_nas_5gs_missing_mandatory_elemen); + curr_offset++; + curr_len--; /* Mobile identity 5GS mobile identity 9.11.3.4 M LV-E 6-n*/ ELEM_MAND_LV_E(NAS_5GS_PDU_TYPE_MM, DE_NAS_5GS_MM_5GS_MOBILE_ID, NULL, ei_nas_5gs_missing_mandatory_elemen);