aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-02-11 10:14:57 +0100
committerHarald Welte <laforge@osmocom.org>2021-02-11 10:15:37 +0100
commite8299eb745a1f7157369e6c41a0a9eb866782b27 (patch)
treed9b3cf540a6d985f1356c10d38388648fdb5d24a
parente3f707b8c60fa72bd9a6803fc4f5056876885d51 (diff)
ranap_msg_factory: Fix LOGP statements
The related compiler warnings were overlooked as due to the asn1c-generated code there always are tons of warnings printed compiling this project :( Change-Id: I40b1265ba696501cc72e674f3ef4146c47aacf1b
-rw-r--r--src/ranap_msg_factory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ranap_msg_factory.c b/src/ranap_msg_factory.c
index 121514c..f93a2ab 100644
--- a/src/ranap_msg_factory.c
+++ b/src/ranap_msg_factory.c
@@ -232,7 +232,7 @@ struct msgb *ranap_new_msg_sec_mod_cmd2(const uint8_t *ik, const uint8_t *ck, en
ialg = RANAP_IntegrityProtectionAlgorithm_standard_UMTS_integrity_algorithm_UIA2;
break;
default:
- LOGP(DRANAP, "Unsupported UIA algorithm UIA%d specified\n", i);
+ LOGP(DRANAP, LOGL_ERROR, "Unsupported UIA algorithm UIA%d specified\n", i);
return NULL;
}
@@ -259,7 +259,7 @@ struct msgb *ranap_new_msg_sec_mod_cmd2(const uint8_t *ik, const uint8_t *ck, en
ealg = RANAP_EncryptionAlgorithm_standard_UMTS_encryption_algorithm_UEA2;
break;
default:
- LOGP(DRANAP, "Unsupported UEA algorithm UEA%d specified\n", i);
+ LOGP(DRANAP, LOGL_ERROR, "Unsupported UEA algorithm UEA%d specified\n", i);
asn_set_empty(&ies.integrityProtectionInformation.permittedAlgorithms);
return NULL;
}