Module: kamailio
Branch: master
Commit: 648dd937831654d40a9d615319693b87db31ef94
URL:
https://github.com/kamailio/kamailio/commit/648dd937831654d40a9d615319693b8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-04T14:18:11+02:00
core: rpc dns.view returns an array of records
---
Modified: src/core/core_cmd.c
---
Diff:
https://github.com/kamailio/kamailio/commit/648dd937831654d40a9d615319693b8…
Patch:
https://github.com/kamailio/kamailio/commit/648dd937831654d40a9d615319693b8…
---
diff --git a/src/core/core_cmd.c b/src/core/core_cmd.c
index 16b36e5a2b..4dc5554671 100644
--- a/src/core/core_cmd.c
+++ b/src/core/core_cmd.c
@@ -1044,7 +1044,7 @@ static rpc_export_t core_rpc_methods[] = {
{"dns.debug_all", dns_cache_debug_all, dns_cache_debug_all_doc,
0 },
{"dns.view", dns_cache_view, dns_cache_view_doc,
- 0 },
+ RET_ARRAY },
{"dns.lookup", dns_cache_rpc_lookup, dns_cache_rpc_lookup_doc,
0 },
{"dns.delete_all", dns_cache_delete_all, dns_cache_delete_all_doc,