From df5a72f556e86c8b68837ffba72f58fdd724e147 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 9 Jan 2023 18:41:50 +0100 Subject: [PATCH] llc: Log error loading gprs chiper plugins Change-Id: Ie0438b444c2aff8991736806256fb67b59ee8bcc --- src/llc/llc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/llc/llc.c b/src/llc/llc.c index 3ddba6a..1f52851 100644 --- a/src/llc/llc.c +++ b/src/llc/llc.c @@ -126,8 +126,10 @@ int osmo_gprs_llc_init(enum osmo_gprs_llc_location location, const char *cipher_ int rc; OSMO_ASSERT(location == OSMO_GPRS_LLC_LOCATION_MS || location == OSMO_GPRS_LLC_LOCATION_SGSN) - if ((rc = gprs_cipher_load(cipher_plugin_path)) != 0) + if ((rc = gprs_cipher_load(cipher_plugin_path)) != 0) { + LOGLLC(LOGL_NOTICE, "Failed loading GPRS cipher plugins from %s\n", cipher_plugin_path); return rc; + } if (g_ctx) talloc_free(g_ctx);