diff options
author | Anders Broman <anders.broman@ericsson.com> | 2019-03-21 10:59:42 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2019-03-21 12:13:37 +0000 |
commit | b780bb19bdf46d100fc6aa9afda8049b0d371730 (patch) | |
tree | 3a3d34b64f3298493384e747f81944109c94c30b /epan/dissectors/packet-nas_5gs.c | |
parent | c7c3e31772767733282a88b762314a670582e5ea (diff) |
NAS-5GS: Dissect Packet filter contents Single remote port type.
Change-Id: I77c79d477af3575428d9d6816f07b54c3302b513
Reviewed-on: https://code.wireshark.org/review/32496
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-nas_5gs.c')
-rw-r--r-- | epan/dissectors/packet-nas_5gs.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/epan/dissectors/packet-nas_5gs.c b/epan/dissectors/packet-nas_5gs.c index 71aef4a170..6b4bde7e8b 100644 --- a/epan/dissectors/packet-nas_5gs.c +++ b/epan/dissectors/packet-nas_5gs.c @@ -327,6 +327,8 @@ static int hf_nas_5gs_acces_tech_o2_b5 = -1; static int hf_nas_5gs_acces_tech_o2_b4 = -1; static int hf_nas_5gs_acces_tech_o2_b3 = -1; static int hf_nas_5gs_acces_tech_o2_b2 = -1; +static int hf_nas_5gs_single_port_type = -1; + static expert_field ei_nas_5gs_extraneous_data = EI_INIT; static expert_field ei_nas_5gs_unknown_pd = EI_INIT; @@ -2985,6 +2987,12 @@ de_nas_5gs_sm_qos_rules(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, curr_offset++; pfc_len = 1; break; + case 80: + /* Single remote port type */ + proto_tree_add_item(sub_tree3, hf_nas_5gs_single_port_type, tvb, curr_offset, 2, ENC_BIG_ENDIAN); + curr_offset += 2; + pfc_len = 2; + break; default: proto_tree_add_expert(sub_tree3, pinfo, &ei_nas_5gs_not_diss, tvb, curr_offset, pf_len); curr_offset += pf_len; @@ -6792,6 +6800,11 @@ proto_register_nas_5gs(void) FT_BOOLEAN, 8, TFS(&tfs_selected_not_selected), 0x04, NULL, HFILL } }, + { &hf_nas_5gs_single_port_type, + { "Port number", "nas_5gs.port_type", + FT_UINT16, BASE_DEC, NULL, 0x0, + NULL, HFILL } + }, }; guint i; |