Module: kamailio
Branch: master
Commit: e6dcc14646f00aa71fc08368b268e7356d3343c7
URL:
https://github.com/kamailio/kamailio/commit/e6dcc14646f00aa71fc08368b268e73…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-05-11T08:16:09+02:00
auth_radius: print radius config path on failure to load
---
Modified: src/modules/auth_radius/auth_radius.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e6dcc14646f00aa71fc08368b268e73…
Patch:
https://github.com/kamailio/kamailio/commit/e6dcc14646f00aa71fc08368b268e73…
---
diff --git a/src/modules/auth_radius/auth_radius.c
b/src/modules/auth_radius/auth_radius.c
index 387f58d30d1..cbf5acaa5eb 100644
--- a/src/modules/auth_radius/auth_radius.c
+++ b/src/modules/auth_radius/auth_radius.c
@@ -120,7 +120,8 @@ static int mod_init(void)
int n;
if ((rh = rc_read_config(radius_config)) == NULL) {
- LM_ERR("failed to open configuration file \n");
+ LM_ERR("failed to open configuration file: %s\n",
+ (radius_config)?radius_config:"none");
return -1;
}