Module: kamailio
Branch: master
Commit: 24ca2e7760a8dada433b188348c768e7e224f10d
URL:
https://github.com/kamailio/kamailio/commit/24ca2e7760a8dada433b188348c768e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-17T15:47:32+02:00
core: rpc command core.tcp_list returns an array of items
---
Modified: src/core/core_cmd.c
---
Diff:
https://github.com/kamailio/kamailio/commit/24ca2e7760a8dada433b188348c768e…
Patch:
https://github.com/kamailio/kamailio/commit/24ca2e7760a8dada433b188348c768e…
---
diff --git a/src/core/core_cmd.c b/src/core/core_cmd.c
index ea38e60bae..5b1c4624ed 100644
--- a/src/core/core_cmd.c
+++ b/src/core/core_cmd.c
@@ -1090,7 +1090,7 @@ static rpc_export_t core_rpc_methods[] = {
#endif
{"core.tcp_info", core_tcpinfo, core_tcpinfo_doc, 0},
{"core.tcp_options", core_tcp_options, core_tcp_options_doc,0},
- {"core.tcp_list", core_tcp_list, core_tcp_list_doc,0},
+ {"core.tcp_list", core_tcp_list, core_tcp_list_doc,
RET_ARRAY},
{"core.udp4_raw_info", core_udp4rawinfo, core_udp4rawinfo_doc,
0},
{"core.aliases_list", core_aliases_list, core_aliases_list_doc, 0},