[sr-dev] git:master:648dd937: core: rpc dns.view returns an array of records
Daniel-Constantin Mierla
miconda at gmail.com
Sat May 5 08:48:35 CEST 2018
Module: kamailio
Branch: master
Commit: 648dd937831654d40a9d615319693b87db31ef94
URL: https://github.com/kamailio/kamailio/commit/648dd937831654d40a9d615319693b87db31ef94
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/648dd937831654d40a9d615319693b87db31ef94.diff
Patch: https://github.com/kamailio/kamailio/commit/648dd937831654d40a9d615319693b87db31ef94.patch
---
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,
More information about the sr-dev
mailing list