diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-04-11 20:26:54 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-04-20 11:22:59 +0200 |
commit | bdb3f266681138e5462b64c943dca748fef2e54c (patch) | |
tree | ffa2e9b7204a7f3d4a18348738ab28bfaa510d23 /openbsc/src/libiu | |
parent | 69d3c26e43101475202643cf48e87b9c4789348c (diff) |
cn_ranap_handle_co: add error rc and logging for PR Outcome
Diffstat (limited to 'openbsc/src/libiu')
-rw-r--r-- | openbsc/src/libiu/iu.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/src/libiu/iu.c b/openbsc/src/libiu/iu.c index 0c00e7fb5..a07cd5460 100644 --- a/openbsc/src/libiu/iu.c +++ b/openbsc/src/libiu/iu.c @@ -479,6 +479,11 @@ static void cn_ranap_handle_co(void *ctx, ranap_message *message) /* RAB Assignment Response */ rc = ranap_handle_co_rab_ass_resp(ctx, &message->msg.raB_AssignmentResponseIEs); break; + default: + LOGP(DRANAP, LOGL_ERROR, "Received Outcome: unknown Procedure Code %d\n", + message->procedureCode); + rc = -1; + break; } case RANAP_RANAP_PDU_PR_unsuccessfulOutcome: default: |