[sr-dev] git:master:38f51406: core: set RET_ARRAY flag for core.sockets_list command
grumvalski
federico.cabiddu at gmail.com
Wed Jul 12 10:52:29 CEST 2017
Module: kamailio
Branch: master
Commit: 38f514064a326f759e0e88adeffd03b32b35d6c0
URL: https://github.com/kamailio/kamailio/commit/38f514064a326f759e0e88adeffd03b32b35d6c0
Author: grumvalski <federico.cabiddu at gmail.com>
Committer: grumvalski <federico.cabiddu at 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/38f514064a326f759e0e88adeffd03b32b35d6c0.diff
Patch: https://github.com/kamailio/kamailio/commit/38f514064a326f759e0e88adeffd03b32b35d6c0.patch
---
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 },
More information about the sr-dev
mailing list