neels has uploaded this change for review.

View Change

silence error message for N-STATE prim

We ignore the N-STATE prim, so don't error about it.

Related: SYS#6952
Change-Id: Ic353840a7b2e32c54c2732f58836776a5eddb220
---
M src/osmo-bsc/osmo_bsc_sigtran.c
1 file changed, 17 insertions(+), 0 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/89/36989/1
diff --git a/src/osmo-bsc/osmo_bsc_sigtran.c b/src/osmo-bsc/osmo_bsc_sigtran.c
index a1aaaaf..24e5771 100644
--- a/src/osmo-bsc/osmo_bsc_sigtran.c
+++ b/src/osmo-bsc/osmo_bsc_sigtran.c
@@ -363,6 +363,11 @@
handle_pcstate_ind(osmo_sccp_get_ss7(sccp), &scu_prim->u.pcstate);
break;

+ case OSMO_PRIM(OSMO_SCU_PRIM_N_STATE, PRIM_OP_INDICATION):
+ LOGP(DMSC, LOGL_DEBUG, "Ignoring SIGTRAN operation %s on primitive %s\n",
+ get_value_string(osmo_prim_op_names, oph->operation), osmo_scu_prim_type_name(oph->primitive));
+ break;
+
default:
LOGP(DMSC, LOGL_ERROR, "Unhandled SIGTRAN operation %s on primitive %s\n",
get_value_string(osmo_prim_op_names, oph->operation), osmo_scu_prim_type_name(oph->primitive));

To view, visit change 36989. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ic353840a7b2e32c54c2732f58836776a5eddb220
Gerrit-Change-Number: 36989
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr@sysmocom.de>
Gerrit-MessageType: newchange