Browse code

rtpengine: Add RPC success message on reload

Olle E. Johansson authored on 03/01/2022 15:14:19
Showing 1 changed files
... ...
@@ -283,7 +283,7 @@ static str body_intermediate;
283 283
 static str rtp_inst_pv_param = {NULL, 0};
284 284
 static pv_spec_t *rtp_inst_pvar = NULL;
285 285
 
286
-/* array with the sockets used by rtpporxy (per process)*/
286
+/* array with the sockets used by rtpproxy (per process)*/
287 287
 static unsigned int *rtpp_no = 0;
288 288
 static gen_lock_t *rtpp_no_lock = 0;
289 289
 static int *rtpp_socks = 0;
... ...
@@ -1341,6 +1341,7 @@ static void rtpengine_rpc_reload(rpc_t* rpc, void* ctx)
1341 1341
 	LM_DBG("current rtpengines list version: %d (%u)\n",
1342 1342
 			_rtpe_list_version->vernum,
1343 1343
 			(unsigned int)_rtpe_list_version->vertime);
1344
+	rpc->rpl_printf(c, "Ok. Reload successful.");
1344 1345
 }
1345 1346
 
1346 1347
 static int rtpengine_rpc_iterate(rpc_t* rpc, void* ctx, const str *rtpp_url,