Skip to content

Commit

Permalink
PDCP-NR (trivial): show calculated digest preceded with 0x
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Mathieson committed Dec 2, 2023
1 parent e66f010 commit 412f184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epan/dissectors/packet-pdcp-nr.c
Original file line number Diff line number Diff line change
Expand Up @@ -2625,7 +2625,7 @@ static int dissect_pdcp_nr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
expert_add_info_format(pinfo, mac_ti, &ei_pdcp_nr_digest_wrong,
"MAC-I Digest wrong - calculated %08x but found %08x",
calculated_digest, mac);
proto_item_append_text(mac_ti, " (but calculated %08x !)", calculated_digest);
proto_item_append_text(mac_ti, " (but calculated 0x%08x !)", calculated_digest);
}
else {
proto_item_append_text(mac_ti, " [Matches calculated result]");
Expand Down

0 comments on commit 412f184

Please sign in to comment.