[sr-dev] git:master:fecda3d1: htable: Add RPC response for successful reload of htable

Olle E. Johansson oej at edvina.net
Mon Jan 3 15:41:25 CET 2022


Module: kamailio
Branch: master
Commit: fecda3d12f0f72ba0f35f239108f5dcd3bec0959
URL: https://github.com/kamailio/kamailio/commit/fecda3d12f0f72ba0f35f239108f5dcd3bec0959

Author: Olle E. Johansson <oej at edvina.net>
Committer: Olle E. Johansson <oej at edvina.net>
Date: 2022-01-03T15:41:09+01:00

htable: Add RPC response for successful reload of htable

---

Modified: src/modules/htable/htable.c

---

Diff:  https://github.com/kamailio/kamailio/commit/fecda3d12f0f72ba0f35f239108f5dcd3bec0959.diff
Patch: https://github.com/kamailio/kamailio/commit/fecda3d12f0f72ba0f35f239108f5dcd3bec0959.patch

---

diff --git a/src/modules/htable/htable.c b/src/modules/htable/htable.c
index bd6d474e9d..3e9f52bf13 100644
--- a/src/modules/htable/htable.c
+++ b/src/modules/htable/htable.c
@@ -1912,6 +1912,7 @@ static void htable_rpc_reload(rpc_t* rpc, void* c)
 	}
 	free(nht.entries);
 	ht_db_close_con();
+	rpc->rpl_printf(c, "Ok. Htable reloaded.");
 	return;
 }
 




More information about the sr-dev mailing list