bssap: make "not implemented" log msgs consistent

Use LOGL_ERROR and word them the same way as the not implemented
message in sccp_sap_up_cn and sccp_sap_up_ran.

Related: SYS#5560
Change-Id: Ice8d67a30064a91d68256f43dcfb052d237e5594
This commit is contained in:
Oliver Smith 2022-03-23 11:19:47 +01:00
parent 5c11306e45
commit 175fed1327
1 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ static int bssap_cn_rcvmsg_udt(struct osmo_sccp_addr *addr, struct msgb *msg, un
ret = bssap_cn_handle_reset_ack(addr, msg, length);
break;
default:
LOGP(DMAIN, LOGL_NOTICE, "Unimplemented BSSMAP UDT %s\n", gsm0808_bssap_name(msg->l3h[0]));
LOGP(DMAIN, LOGL_ERROR, "%s(%s) is not implemented!\n", __func__, gsm0808_bssap_name(msg->l3h[0]));
break;
}
@ -96,7 +96,7 @@ static int bssap_ran_rcvmsg_udt(struct osmo_sccp_addr *addr, struct msgb *msg, u
ret = bssap_ran_handle_reset(addr, msg, length);
break;
default:
LOGP(DMAIN, LOGL_NOTICE, "Unimplemented BSSMAP UDT %s\n", gsm0808_bssap_name(msg->l3h[0]));
LOGP(DMAIN, LOGL_ERROR, "%s(%s) is not implemented!\n", __func__, gsm0808_bssap_name(msg->l3h[0]));
break;
}
@ -143,7 +143,7 @@ int bssap_handle_udt(struct bsc_nat_sccp_inst *sccp_inst, struct osmo_sccp_addr
rc = bssap_rcvmsg_udt(sccp_inst, addr, msgb, length - sizeof(*bs));
break;
default:
LOGP(DMAIN, LOGL_NOTICE, "Unimplemented msg type: %s\n", gsm0808_bssap_name(bs->type));
LOGP(DMAIN, LOGL_ERROR, "%s(%s) is not implemented!\n", __func__, gsm0808_bssap_name(bs->type));
}
return rc;