osmo-bsc: Print NOTICE message on unimplemented BSSMAP UDT
When we receive unimplemented/unhandled message types, we shouldn't simply silently discard them, but print a log message for the benefit of the user. Change-Id: I8ecb1d2134f9c6a96f29e145fa0430880e971168
This commit is contained in:
parent
3b0b064196
commit
71b68bed2a
|
@ -407,6 +407,10 @@ static int bssmap_rcvmsg_udt(struct bsc_msc_data *msc,
|
|||
case BSS_MAP_MSG_PAGING:
|
||||
ret = bssmap_handle_paging(msc, msg, length);
|
||||
break;
|
||||
default:
|
||||
LOGP(DMSC, LOGL_NOTICE, "Received unimplemented BSSMAP UDT %s\n",
|
||||
gsm0808_bssmap_name(msg->l4h[0]));
|
||||
break;
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
Reference in New Issue