Change in osmo-msc[master]: VLR: use msgb_eq_data_print() for comparison

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Thu Jan 24 17:15:26 UTC 2019


osmith has posted comments on this change. ( https://gerrit.osmocom.org/12571 )

Change subject: VLR: use msgb_eq_data_print() for comparison
......................................................................


Patch Set 2: Code-Review+1

Change looks good to me.

I find this useful, and I can't see how having a multiline string logged here would be an issue. As Max said, it is only logged in case of error anyway. The code does look cleaner to me in the new version.

Old output:

 Mismatch! Expected:
 14010809710000004026f0280102

New output:

 DLGLOBAL __wrap_osmo_gsup_client_send() L0 data mismatch:
 expected 14 01 08 09 71 00 00 00 40 26 f0 28 01 02 
          !!
     msgb 04 01 08 09 71 00 00 00 40 26 f0 28 01 02


-- 
To view, visit https://gerrit.osmocom.org/12571
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If9771c973f2bc55580f4c146bdbeeb1609d56786
Gerrit-Change-Number: 12571
Gerrit-PatchSet: 2
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Stefan Sperling <stsp at stsp.name>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Comment-Date: Thu, 24 Jan 2019 17:15:26 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190124/e1b8acc0/attachment.htm>


More information about the gerrit-log mailing list