[sr-dev] git:master:6695b6fc: corex: updated memory info fields

Daniel-Constantin Mierla miconda at gmail.com
Fri Mar 4 09:45:15 CET 2022


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-03-04T09:43:59+01:00

corex: updated memory info fields

---

Modified: src/modules/corex/corex_rpc_shm.c

---

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

---

diff --git a/src/modules/corex/corex_rpc_shm.c b/src/modules/corex/corex_rpc_shm.c
index 615fb892bc..4c1d3c820c 100644
--- a/src/modules/corex/corex_rpc_shm.c
+++ b/src/modules/corex/corex_rpc_shm.c
@@ -71,8 +71,8 @@ static void corex_rpc_shm_stats(rpc_t* rpc, void* c)
 	rpc->add(c, "{", &th);
 	rpc->struct_add(th, "jjjjjj",
 			"total", mi.total_size,
-			"free", mi.free,
-			"used", mi.used,
+			"free", mi.free_size,
+			"used", mi.used_size,
 			"real_used", mi.real_used,
 			"max_used", mi.max_used,
 			"fragments", mi.total_frags




More information about the sr-dev mailing list