sccp_scmg: ignore PCSTATE.indication
Silence the error log for PCSTATE.indication prims. When running the HNBGW_Tests.ttcn suite, the osmo-hnbgw LOGL_ERROR is spammed with messages like: DLSCCP ERROR unsupported SCCP user primitive N-PCSTATE.indication (sccp_scmg.c:298) Add this prim to scmg_prim_cb() to just log on DEBUG that it is ignored. Related: OS#5679 Change-Id: I5fd38afea94f48ed2f2fcd2d9baa8ec22a571b6b
This commit is contained in:
parent
dc9713a672
commit
ed4e7dbf86
|
@ -294,6 +294,9 @@ static int scmg_prim_cb(struct osmo_prim_hdr *oph, void *_scu)
|
|||
scmg->affected_pc = osmo_load16le(&scmg->affected_pc);
|
||||
rc = scmg_rx(scu, ¶m->calling_addr, ¶m->called_addr, scmg);
|
||||
break;
|
||||
case OSMO_PRIM(OSMO_SCU_PRIM_N_PCSTATE, PRIM_OP_INDICATION):
|
||||
LOGP(DLSCCP, LOGL_DEBUG, "Ignoring SCCP user primitive %s\n", osmo_scu_prim_name(oph));
|
||||
break;
|
||||
default:
|
||||
LOGP(DLSCCP, LOGL_ERROR, "unsupported SCCP user primitive %s\n",
|
||||
osmo_scu_prim_name(oph));
|
||||
|
|
Loading…
Reference in New Issue