Module: kamailio
Branch: master
Commit: 2fe5a0d165082d7acde4695bffeb2d194e4bab58
URL:
https://github.com/kamailio/kamailio/commit/2fe5a0d165082d7acde4695bffeb2d1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-08-02T12:29:25+02:00
tls: set module name using MOD_NAME define
---
Modified: src/modules/tls/tls_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/2fe5a0d165082d7acde4695bffeb2d1…
Patch:
https://github.com/kamailio/kamailio/commit/2fe5a0d165082d7acde4695bffeb2d1…
---
diff --git a/src/modules/tls/tls_mod.c b/src/modules/tls/tls_mod.c
index 30a533994d..6e421635cb 100644
--- a/src/modules/tls/tls_mod.c
+++ b/src/modules/tls/tls_mod.c
@@ -256,12 +256,15 @@ static param_export_t params[] = {
{0, 0, 0}
};
+#ifndef MOD_NAME
+#define MOD_NAME "tls"
+#endif
/*
* Module interface
*/
struct module_exports exports = {
- "tls", /* module name */
+ MOD_NAME, /* module name */
DEFAULT_DLFLAGS, /* dlopen flags */
cmds, /* exported functions */
params, /* exported parameters */