Module: kamailio
Branch: master
Commit: 6695b6fcb830b379e3d2aea4d7d35daba8e30317
URL:
https://github.com/kamailio/kamailio/commit/6695b6fcb830b379e3d2aea4d7d35da…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/6695b6fcb830b379e3d2aea4d7d35da…
Patch:
https://github.com/kamailio/kamailio/commit/6695b6fcb830b379e3d2aea4d7d35da…
---
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