Use BSSAP-specific TLV parser from libosmocore

Change-Id: Iae1a3ffcebf1b0b95e61cd5dffe7ef734796fcfc
This commit is contained in:
Max 2018-11-19 14:55:56 +01:00
parent 3710623e36
commit f1329c533d
1 changed files with 1 additions and 1 deletions

View File

@ -611,7 +611,7 @@ static int rx_bssmap(struct osmo_sccp_user *scu, const struct a_conn_info *a_con
}
msg_type = msg->l3h[0];
rc = tlv_parse(&tp, gsm0808_att_tlvdef(), msg->l3h + 1, msgb_l3len(msg) - 1, 0, 0);
rc = osmo_bssap_tlv_parse(&tp, msg->l3h + 1, msgb_l3len(msg) - 1);
if (rc < 0) {
LOGP(DBSSAP, LOGL_ERROR, "Failed parsing TLV -- discarding message! %s\n",
osmo_hexdump(msg->l3h, msgb_l3len(msg)));