Skip to content

Commit

Permalink
tls: set module name using MOD_NAME define
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Aug 2, 2021
1 parent f614c39 commit 2fe5a0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modules/tls/tls_mod.c
Expand Up @@ -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 */
Expand Down

0 comments on commit 2fe5a0d

Please sign in to comment.