Module: kamailio
Branch: master
Commit: 9067def6e1f84ed0c9e4209b477bb9da17709fda
URL: 
https://github.com/kamailio/kamailio/commit/9067def6e1f84ed0c9e4209b477bb9da17709fda

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2016-12-30T11:58:45+01:00

auth_ephemeral: dump secrets rpc result is an array

---

Modified: src/modules/auth_ephemeral/autheph_mod.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/9067def6e1f84ed0c9e4209b477bb9da17709fda.diff
Patch: 
https://github.com/kamailio/kamailio/commit/9067def6e1f84ed0c9e4209b477bb9da17709fda.patch

---

diff --git a/src/modules/auth_ephemeral/autheph_mod.c 
b/src/modules/auth_ephemeral/autheph_mod.c
index 315f83b..4f23910 100644
--- a/src/modules/auth_ephemeral/autheph_mod.c
+++ b/src/modules/auth_ephemeral/autheph_mod.c
@@ -383,7 +383,7 @@ static const char* autheph_rpc_rm_secret_doc[2] = {
 
 rpc_export_t autheph_rpc_cmds[] = {
        {"autheph.dump_secrets", autheph_rpc_dump_secrets,
-               autheph_rpc_dump_secrets_doc, 0},
+               autheph_rpc_dump_secrets_doc, RET_ARRAY},
        {"autheph.add_secret", autheph_rpc_add_secret,
                autheph_rpc_add_secret_doc, 0},
        {"autheph.add_secret", autheph_rpc_rm_secret,


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to