msc_vlr_tests: better err logging for dtap msgs
Change-Id: I3edd90be40555dd648e9f16db5b6040665a19a95
This commit is contained in:
parent
b455205783
commit
e0f906c42c
|
@ -254,8 +254,10 @@ static int _validate_dtap(struct msgb *msg, enum osmo_rat_type to_ran)
|
|||
|
||||
/* Mask the sequence number out before comparing */
|
||||
msg->data[1] &= 0x3f;
|
||||
if (!msgb_eq_data_print(msg, dtap_tx_expected->data, dtap_tx_expected->len))
|
||||
if (!msgb_eq_data_print(msg, dtap_tx_expected->data, dtap_tx_expected->len)) {
|
||||
btw("Expected %s", osmo_hexdump(dtap_tx_expected->data, dtap_tx_expected->len));
|
||||
abort();
|
||||
}
|
||||
|
||||
btw("DTAP matches expected message");
|
||||
|
||||
|
|
Loading…
Reference in New Issue