Module: kamailio
Branch: master
Commit: 63342c34464b6a33ddb229f6d0f3e82a94623e47
URL:
https://github.com/kamailio/kamailio/commit/63342c34464b6a33ddb229f6d0f3e82…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-04-25T15:05:53+02:00
permissions: updated the struct for kemi exports to reflect module name
---
Modified: modules/permissions/permissions.c
---
Diff:
https://github.com/kamailio/kamailio/commit/63342c34464b6a33ddb229f6d0f3e82…
Patch:
https://github.com/kamailio/kamailio/commit/63342c34464b6a33ddb229f6d0f3e82…
---
diff --git a/modules/permissions/permissions.c b/modules/permissions/permissions.c
index 5cfa6d3..b935e37 100644
--- a/modules/permissions/permissions.c
+++ b/modules/permissions/permissions.c
@@ -1036,7 +1036,7 @@ static int permissions_init_rpc(void)
/**
*
*/
-static sr_kemi_t sr_kemi_maxfwd_exports[] = {
+static sr_kemi_t sr_kemi_permissions_exports[] = {
{ str_init("permissions"), str_init("allow_source_address"),
SR_KEMIP_INT, allow_source_address,
{ SR_KEMIP_INT, SR_KEMIP_NONE, SR_KEMIP_NONE,
@@ -1056,6 +1056,6 @@ static sr_kemi_t sr_kemi_maxfwd_exports[] = {
*/
int mod_register(char *path, int *dlflags, void *p1, void *p2)
{
- sr_kemi_modules_add(sr_kemi_maxfwd_exports);
+ sr_kemi_modules_add(sr_kemi_permissions_exports);
return 0;
}