Module: sip-router Branch: master Commit: b77613398fe7a69d4ac52add3630c94373cbe3e8 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b77613398fe7a69d4ac52add3630c94373cbe3e8
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: Mon Sep 1 23:45:13 2014 +0200 core: return OK as string for a successful dns.delete rpc command - closes FS#260 --- dns_cache.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dns_cache.c b/dns_cache.c index 1ff4145..6caa25f 100644 --- a/dns_cache.c +++ b/dns_cache.c @@ -3969,6 +3969,7 @@ void dns_cache_delete_all(rpc_t* rpc, void* ctx) return; } dns_cache_flush(0); + rpc->rpl_printf(ctx, "OK"); } /* deletes all the entries from the cache, @@ -3980,6 +3981,7 @@ void dns_cache_delete_all_force(rpc_t* rpc, void* ctx) return; } dns_cache_flush(1); + rpc->rpl_printf(ctx, "OK"); } /* clones an entry and extends its memory area to hold a new rr. _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
