diff options
author | Martin Mathieson <martin.mathieson@keysight.com> | 2023-07-22 14:56:56 +0100 |
---|---|---|
committer | Martin Mathieson <martin.mathieson@keysight.com> | 2023-07-22 14:56:56 +0100 |
commit | ab6c2a4a0ac14b33b902652d463c3a01334da467 (patch) | |
tree | 2387128893967e9c216c8b7bd28aeea206290a2b /epan | |
parent | 864e0f291966bd64677b2e81a5575f2708d6db83 (diff) |
RLC-NR: Fix the length to a key used for wmem_tree usage
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-rlc-nr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rlc-nr.c b/epan/dissectors/packet-rlc-nr.c index 44305d414d..89ddc9fd8c 100644 --- a/epan/dissectors/packet-rlc-nr.c +++ b/epan/dissectors/packet-rlc-nr.c @@ -639,6 +639,7 @@ static guint32 get_reassembly_start_frame(packet_info *pinfo, guint32 seg_info, return frame_id; } +/* On first pass - if this SN is complete, don't try to add any more fragments to it */ static void reassembly_frame_complete(packet_info *pinfo, rlc_nr_info *p_rlc_nr_info, guint32 sn) { @@ -652,7 +653,7 @@ static void reassembly_frame_complete(packet_info *pinfo, /* Set Key. */ wmem_tree_key_t key[2]; - key[0].length = 4; /* Ignoring this frame num */ + key[0].length = 5; key[0].key = key_values; key[1].length = 0; key[1].key = NULL; |