Module: kamailio
Branch: master
Commit: 38f514064a326f759e0e88adeffd03b32b35d6c0
URL:
https://github.com/kamailio/kamailio/commit/38f514064a326f759e0e88adeffd03b…
Author: grumvalski <federico.cabiddu(a)gmail.com>
Committer: grumvalski <federico.cabiddu(a)gmail.com>
Date: 2017-07-12T09:04:13+02:00
core: set RET_ARRAY flag for core.sockets_list command
---
Modified: src/core/core_cmd.c
---
Diff:
https://github.com/kamailio/kamailio/commit/38f514064a326f759e0e88adeffd03b…
Patch:
https://github.com/kamailio/kamailio/commit/38f514064a326f759e0e88adeffd03b…
---
diff --git a/src/core/core_cmd.c b/src/core/core_cmd.c
index 9d62617bdd..fadabf5a7f 100644
--- a/src/core/core_cmd.c
+++ b/src/core/core_cmd.c
@@ -989,7 +989,7 @@ static rpc_export_t core_rpc_methods[] = {
{"core.udp4_raw_info", core_udp4rawinfo, core_udp4rawinfo_doc,
0},
{"core.aliases_list", core_aliases_list, core_aliases_list_doc,
0},
- {"core.sockets_list", core_sockets_list, core_sockets_list_doc,
0},
+ {"core.sockets_list", core_sockets_list, core_sockets_list_doc,
RET_ARRAY},
#ifdef USE_DNS_CACHE
{"dns.mem_info", dns_cache_mem_info, dns_cache_mem_info_doc,
0 },